get_geography: get_geography()

View source: R/get_geography.R

get_geographyR Documentation

get_geography()

Description

Function produces a data.table/dataframe of the geography names available in submitting a data request to the Census Bureau's API.

Usage

get_geography(dataset, vintage = NULL)

Arguments

dataset

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

vintage

An optional numeric that sets the year of interest.

Details

Get the list of geography entities available (state, county, tract, etc) available for a specific dataset and optionally a vintage.

Value

A data.table

Author(s)

Rick Dean


deandevl/Rcensus documentation built on Aug. 9, 2022, 8:24 p.m.