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

get_estimates show_call is not displaying #578

Closed
rdev-kb opened this issue Jul 22, 2024 · 2 comments
Closed

get_estimates show_call is not displaying #578

rdev-kb opened this issue Jul 22, 2024 · 2 comments

Comments

@rdev-kb
Copy link

rdev-kb commented Jul 22, 2024

I am unable to see the API call when show_call=TRUE in get_estimates. I am running tidycensus 1.6.3 and R 4.4.0. For example:

get_estimates(geography = c("state"),  product = "characteristics", 
               breakdown = c("SEX", "AGEGROUP"), breakdown_labels = TRUE,
               vintage =2022, year=2022, show_call = TRUE) %>% 
     head()
@walkerke
Copy link
Owner

The issue there is that you aren't actually making an API call. The Population Estimates are no longer available via API, so tidycensus instead downloads the flat files and parses them for you. I'll deprecate this argument for the function for recent years, as it's unlikely that PEP will be re-added to the API.

@rdev-kb
Copy link
Author

rdev-kb commented Jul 22, 2024

Thank you very much!

@rdev-kb rdev-kb closed this as completed Jul 22, 2024
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

2 participants