get_pop_groups: Get available population groups for a given Decennial Census...

View source: R/popgroups.R

get_pop_groupsR Documentation

Get available population groups for a given Decennial Census year and summary file

Description

Get available population groups for a given Decennial Census year and summary file

Usage

get_pop_groups(year, sumfile)

Arguments

year

The decennial Census year; one of 2000, 2010, or 2020.

sumfile

The summary file. Available summary files are "ddhca", "sf2", and "sf4".

Value

A tibble containing codes (to be used with the pop_group argument of get_decennial()) and descriptive names.


walkerke/tidycensus documentation built on March 28, 2024, 7:04 p.m.