[R] Date as Integer

Shivi82 shivibhatia at ymail.com
Tue Aug 25 06:16:31 CEST 2015


Hi John,

Sorry but if this sounds really as a newbie question. 
I looked at the data as you suggested using glimpse(name of the dataset) 

and then View(dput(head(ak,20))) to capture it as a table. Is there an
option where i can save this view table & share along. 
I used dput but that would not work as it is not giving data out in the
required format due to multiple columns. 

Please suggest on view. 
Also i tried mutate but still get the same error message:
Error in UseMethod("group_by_") : 
  no applicable method for 'group_by_' applied to an object of class
"c('integer', 'numeric')".

Please see the output from View(dput(head(ak,20)))
Observations: 379674
Variables:
$ waybill          (int) 43360533, 43361203, 42754126, 43154067...
$ branch           (fctr) GURGAON-25, GURGAON-25, AHMEDABAD-03,...
$ type             (fctr) FMC, FMC, RBA, HBA, HBA, HBA, RBA, RB...
$ pickdate         (fctr) 2015/06/21, 2015/06/22, 2015/06/04, 2...
$ city             (fctr) Gurgaon, Gurgaon, Ahmedabad, Vapi, Va...
$ bookingzone      (fctr) G-N1, G-N1, G-W1, G-W1, G-W1, G-W1, G...
$ destinationzone  (fctr) G-N1, G-N1, G-W1, G-W1, G-W1, G-W1, G...
$ state            (fctr) G-N1, G-N1, G-W1, G-W1, G-W1, G-W1, G...
$ mod              (fctr) AIR, AIR, SURFACE, AIR, AIR, SURFACE,...
$ mode_payment     (fctr) CREDIT, CREDIT, TOPAY, CREDIT, CREDIT...
$ delivery_gateway (fctr) KANNUR, KANNUR, KANNUR, KANNUR, KANNU...
$ delivery_date    (fctr) 7/8/2015, , 6/20/2015, 6/13/2015, 6/1

Does this help?









--
View this message in context: http://r.789695.n4.nabble.com/Date-as-Integer-tp4711377p4711456.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list