census_api_acs5: Get ACS5 Year Estimate Data

Description Usage Arguments Value

View source: R/quacs_functions.R

Description

The API imposes limits on the number of varaibles extracted. To extract more than 20, 'census_api_acs5_multi' batches up the requests and combines them

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
census_api_acs5(
  get,
  geo = "for=tract:*",
  where = "in=state:18",
  key = "key=c8c7ed159026d564cdd274066453f5a8496ff558",
  other = "-",
  year = "2017"
)

census_api_acs5_multi(
  var_names,
  geo = "-",
  where = "-",
  key = "-",
  other = "-",
  year = "2017"
)

Arguments

get

Character vector of varaibles to get, length < 20

geo

Geographic argument to ACS API

where

Where argument to ACS API

key

Key argument to ACS API

other

Other argument to ACS API

year

Ending year for the dataset

var_names

Character vector of varaibles to get, length >= 20

Value

Resulting table as a data frame


regenstrief/quacs documentation built on March 30, 2020, 9:19 p.m.