table_download: table_download

Description Usage Arguments Value Examples

View source: R/TableDownload.R

Description

table_download

Usage

1
2
table_download(table, geography, source = "acs", year = 2018,
  state = NULL, county = NULL, geometry = FALSE)

Arguments

table

a character string either of the table name or concept (consult AllVariables)

geography

The geography of your data, e.g. "tract", "county", "state"

source

either "acs" or "sf1"

year

one of 1990, 2000, or 2010 for decennial data, or 2010-2018 for ACS data

state

an optional state specification, names, postal abbreviations, and FIPS accepted

county

an optional county specification, names and FIPS accepted

geometry

logical, if TRUE returns sf object

Value

a dataframe

Examples

1
table_download("HISPANIC OR LATINO ORIGIN BY RACE", geography = "tract", source = "acs", year = 2018, state = "WI", county = "079")

jdjohn215/JDJcensus documentation built on Jan. 9, 2020, 12:12 a.m.