demos/get_dataset_names_demo.R

library(jsonlite)
library(data.table)
library(httr)
library(Rcensus)

# Get all datasets under the Population Estimates Program (PEP) for the year 2019
pep_datasets_dt <- Rcensus::get_dataset_names(
  filter_str = "pep",
  year = 2019)
deandevl/Rcensus documentation built on Aug. 9, 2022, 8:24 p.m.