hoist_table_glossary: Hoist details about a Census data group from a list of...

View source: R/hoist_table_glossary.R

hoist_table_glossaryR Documentation

Hoist details about a Census data group from a list of strings to separate columns

Description

Hoist details about a Census data group from a list of strings to separate columns

Usage

hoist_table_glossary(.glossary, .group, .fields)

Arguments

.glossary

<data-frame> a table of glossary about Census API variables, e.g. METADATA_FOR_ACS_VARIABLES

.group

<chr> the code for the group, e.g. "B01001"

.fields

<chr[]> names for the new columns, e.g. c("Sex", "Age")

Value

a new data frame with more columns

Examples

hoist_table_glossary(METADATA_FOR_ACS_VARIABLES, "B06002", c("Median age", "Place of birth"))

higherX4Racine/hercacstables documentation built on Jan. 15, 2025, 9:58 p.m.