tidycensus
tidycensus copied to clipboard
get_estimates() not parsing population at county level for Puerto Rico
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.
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!