TidyCensus


Installation

Install the tidycensus package.


Usage

Census

get_decennial

ACS

get_acs

Microdata Samples

For PUMA data samples, use the get_pums function.

Examples of the API:

get_pums(variables = "AGEP", state = "VT")
get_pums(variables = "AGEP", state = "multiple", puma = c("UT" = 35008, "NV" = 00403))
get_pums(variables = c("AGEP", "ANC1P"), state = "VT", recode = TRUE)
get_pums(variables = "AGEP", state = "VT", survey = "acs1", rep_weights = "person")


CategoryRicottone

R/TidyCensus (last edited 2023-06-15 13:59:36 by DominicRicottone)