getstatesviafilenames: Infer US States based on ACS 5-yr filenames in folder

View source: R/getstatesviafilenames.R

getstatesviafilenamesR Documentation

Infer US States based on ACS 5-yr filenames in folder

Description

Helper function to look for unzipped csv files of estimates for American Community Survey (ACS) 5-year summary file data obtained from US Census FTP site, based on pattern matching, and infer State abbreviations based on those filenames.

Usage

getstatesviafilenames(folder = getwd())

Arguments

folder

Default is current working directory.

Value

Returns a vector of unique upper case US State abbreviations

See Also

read.concat.states() which uses this


ejanalysis/ACSdownload documentation built on Jan. 18, 2025, 7:43 a.m.