fawda123 / rStrava

Functions to access data from Strava's v3 API.
152 stars 31 forks source link

get_activity_list before and after #83

Closed Johne3112 closed 3 years ago

Johne3112 commented 3 years ago

I can pull the activity list fine but when I try to apply an after parameter (I don't want to always pull 1800+ activities) I get the same error

_Error in seltimefun(after, FALSE) : inherits(dtin, "Date") is not TRUE

I've tried passing '2021-01-01' as a character, as posixct and as an integer (epoch) but always get the same error

Johne3112 commented 3 years ago

my error. Realised I need to pass the date value as a date, i.e. as.Date('2021-01-01')