get_groups {RcensusPkg}R Documentation

get_groups

Description

Get the names of Census Bureau variable groups and their descriptive parameters

Function produces a data.table of variable groups/tables and their descriptions.

Usage

get_groups(dataset = NULL, vintage = NULL)

Arguments

dataset

A required string that sets the acronym name of the data set of interest (e.g. "acs/acs5")

vintage

An required numeric that sets the year of interest.

Value

A data.table

Examples

library(jsonlite)
library(data.table)
library(httr2)
library(RcensusPkg)

acs5_groups_dt <- RcensusPkg::get_groups(
  dataset = "acs/acs5",
  vintage = 2019)


[Package RcensusPkg version 0.1.5 Index]