group_recs: Group ACS or Census Data

View source: R/group-recs.R

group_recsR Documentation

Group ACS or Census Data

Description

Group ACS to Census Data into pre-defined commonly used groupings, stored in the file: inst/extdata/variables_groupings.

Usage

group_recs(tbl, this_group_name)

Arguments

tbl

A data frame of census or acs data

this_group_name

A character string that describes the grouping of the data. Should match the group_name in the variables_cats table

Value

a tibble of grouped ACS or Census estimates

Author(s)

Suzanne Childress

Examples


inc_poverty<-get_acs_recs(geography = 'county',
                         table.names = c('C17002'),
                         years=c(2019),
                         acs.type = 'acs5')
group_recs(inc_poverty, 'Poverty Group 100 Percent')

psrc/psrccensus documentation built on June 1, 2025, 1:06 p.m.