acspull: Pull ACS Data

View source: R/acs_load.R

acspullR Documentation

Pull ACS Data

Description

Function for downloading acs data at given geography and year

Usage

acspull(
  varlist,
  filename,
  year = 2020,
  geog = "block group",
  varscensus = NULL,
  state = "Maryland",
  basedir = "./data"
)

Arguments

varlist

Vector of variables to download

filename

String to save file as

year

ACS5 year to download data from; default 2020

geog

Geography of data to download; default block group

varscensus

tidycensus downloaded variable names using tidycensus::load_variables; default NULL, which loads in ACS5 variables to merge

state

tidycensus state; default "Maryland"

Value

Creates data directories to save loaded ACS5 data in


dpowerstp/acsprocess documentation built on Sept. 4, 2022, 10:18 a.m.