tidycensus icon indicating copy to clipboard operation
tidycensus copied to clipboard

get_estimates() not parsing population at county level for Puerto Rico

Open malopezcruz opened this issue 1 year ago • 1 comments

The code below does not display data:

get_estimates( geography = "county", product = "population", variables = "all", state = "PR", time_series = T, vintage = 2022 )

while the following works as expected:

get_estimates( geography = "county", product = "population", state = "PR", time_series = T, vintage = 2019 )

tidycensus 1.6.5, R 4.4.1

Thanks in advance.

malopezcruz avatar Aug 17 '24 16:08 malopezcruz

That's right. Estimates for Puerto Rico are contained in a separate dataset so tidycensus doesn't support that yet. The older estimates on the API (2019 and earlier) don't have the same limitations. I'd welcome a PR to add Puerto Rico support!

walkerke avatar Sep 12 '24 14:09 walkerke