-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_activity_data #6
Comments
I'm having the same problem. It would be great to be able to pull activity data for a longer range. |
Weird issue. After messing around with it for a bit (we are using an undocumented (at least publicly) API here), it looks like "fromDate" and "toDate" do nothing at all. There is a parameter called "beforeDate" that seems to work, so we'll be able to put an upper bound on the data requested. The "afterDate" parameter doesn't seem to work either. I'll be updating the package soon. I'm sorry it's taken so long. |
finally got around to trying this. get_activity_data(cookie, end_date = "2016-06-08") Error in data.frame(id = sapply(dat_list[[2]]$result, "[[", "id"), name = sapply(dat_list[[2]]$result, : |
I get:
|
I'm having trouble pulling specific dates when using get_activity_data. It seems that no matter what dates I use it pulls the most recent two weeks.
I'm using R 3.2.3, Rstudio Version 0.99.473, on Mac OSX 10.10.3 Yosemite.
day_activites3 <- get_activity_data(cookie, start_date="2015-12-25", end_date = "2015-12-31")
returns the last two weeks of data instead of the specified days. I noticed this first when I was trying to just pull data from December. I started playing with the start and end date and noticed that no matter which dates I use it always pulls the most recent two weeks. I haven't had this problem with any of the other commands. Any ideas?
The text was updated successfully, but these errors were encountered: