Get available population groups for a given Decennial Census year and summary file
get_pop_groups(year, sumfile)
A tibble containing codes (to be used with the pop_group
argument of get_decennial()
) and descriptive names.
The decennial Census year; one of 2000, 2010, or 2020.
The summary file. Available summary files are "ddhca"
, "sf2"
, and "sf4"
.