Skip to content

covidcast endpoint returns only one geo for a multiple geo request #76

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

Closed
dshemetov opened this issue Mar 23, 2023 · 1 comment
Closed

Comments

@dshemetov
Copy link
Contributor

Same issue as #67,

library(epidatr)
library(magrittr)

covidcast("hhs", "confirmed_admissions_covid_1d", "day", "state", time_values = "20220101", c("al", "ca")) %>% request_url

produces https://delphi.cmu.edu/epidata//covidcast/?data_source=hhs&signals=confirmed_admissions_covid_1d&time_type=day&geo_type=state&time_values=20220101&geo_values=al%2C%20ca which has spaces in its geo_values argument, which gets parsed as a single geo in the server.

@dshemetov
Copy link
Contributor Author

Ah nvm, I didn't reinstall this package since the bug fix.

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