get_groups | R Documentation |
Get the names of Census Bureau variable groups and their descriptive parameters
Function produces a data.table
of variable groups/tables and their
descriptions.
get_groups(dataset = NULL, vintage = NULL)
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. |
A data.table
library(jsonlite)
library(data.table)
library(httr2)
library(RcensusPkg)
acs5_groups_dt <- RcensusPkg::get_groups(
dataset = "acs/acs5",
vintage = 2019)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.