Skip to content
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

Flags object in response format #6

Open
ghost opened this issue Jul 13, 2017 · 1 comment
Open

Flags object in response format #6

ghost opened this issue Jul 13, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 13, 2017

Hi,
i can't find no info about Flagsin the list i get after the api call. Is it implemented?
I ask it because i need the data source for every call.
Thank you for the package!

@davidski
Copy link
Contributor

davidski commented Aug 5, 2017

The flags field isn't one of the parsed items returned in the darksky object, but you can add a add_json = TRUE to a get_forecast_for call and get the full JSON response returned in the json property (not printed by default, so you'd need something like dat <- get_forecast_for(add_json=TRUE, ...); dat$json$`isd-stations` to access). Tested and confirmed on the CRAN release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant