Hello,
Having trouble specifying the date of the tapping activity data in R. Anyone figured out the code required for this or can the devs provide info about what the numeric value on the downloaded data sheet is meant to represent?
Regards,
Bronson
Created by Bronson Harry Bronson For prosperity - and for anyone else struggling with this - the R code for extracting the dates is as follows;
createdOn is in milliseconds so first convert to seconds
```
time_in_seconds <- tap_activity_dataframe$createdOn / 1000
```
time_in_seconds now provides the time in seconds since midnight of the 1st of January 1970, to convert to a date
```
time_as_date <- as.POSIXct(time_in_seconds, origin = '1970-01-01')
``` Thanks @larssono! Hi Bronson:
The number is the timestamp in miliseconds, that is, the number of miliseconds since 1-Jan-1970 in UTC.
Drop files to upload
Extracting date information for activity data page is loading…