Pull the Census Population for All Tracts in America While you can’t directly do the call in tidycensus, you can do it quite easily with a purrr map() call like this: map(state.abb, \(x) get_decennial('tract', state=x, variables = "P1_001N", year = 2020, geometry = T) ) |> bind_rows()
Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Δ