Closed CIOData closed 1 month ago
Thanks for letting me know. The CDC makes a lot of changes and it's hard to keep up with them. @brendensm no pressure but if you get a chance could you see what's going on here? Thanks!
@CIOData Restrictions based on location are not allowed by the API.
From the README:
NOTE, HOWEVER, THAT THE CDC DOES NOT ALLOW QUERIES WITH LOCATION FIELDS THROUGH THE API. If you wish to limit or group results by Region, Division, State or County, or Urbanization, use the CDC Wonder web interface rather than the API – either with or without this package. For more information on this limitation, see: https://wonder.cdc.gov/wonder/help/WONDER-API.html.
Thank you for looking into this. That's frustrating, but not the first time I've encountered the CDC putting up additional barriers to automating data gathering.
-Todd
From: B @.> Sent: Monday, August 5, 2024 1:01 PM To: socdataR/wonderapi @.> Cc: CIO Data @.>; Mention @.> Subject: Re: [socdataR/wonderapi] Unable to Use Locations in D76 (Issue #24)
CAUTION: External Sender
@CIODatahttps://github.com/CIOData Restrictions based on location are not allowed by the API.
From the README:
NOTE, HOWEVER, THAT THE CDC DOES NOT ALLOW QUERIES WITH LOCATION FIELDS THROUGH THE API. If you wish to limit or group results by Region, Division, State or County, or Urbanization, use the CDC Wonderhttps://wonder.cdc.gov/ web interface rather than the API – either with or without this package. For more information on this limitation, see: https://wonder.cdc.gov/wonder/help/WONDER-API.html.
— Reply to this email directly, view it on GitHubhttps://github.com/socdataR/wonderapi/issues/24#issuecomment-2269517565, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AV63IT6KCQJXYZTINWAP4STZP6VWVAVCNFSM6AAAAABLIG3I5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRZGUYTONJWGU. You are receiving this because you were mentioned.Message ID: @.***>
Agree, it's frustrating especially since those variables are available on the CDC WONDER web interface.
I am attempting to make a pull from table D76 that includes restrictions on the location by county. These include selections to the F parameter F_D76.V9. When I run
send_query()
for this I get the following error:Please advise.