geofile: Get name(s) of GEO txt file(s) with geo information for ACS

View source: R/geofile.R

geofileR Documentation

Get name(s) of GEO txt file(s) with geo information for ACS

Description

Get name of text file used by US Census Bureau with geographic information for American Community Survey. That geo file can be used to join data file(s) to FIPS/GEOID/NAME/SUMLEVEL/CKEY.

Usage

geofile(mystates, end.year = acsdefaultendyearhere_func())

Arguments

mystates

vector of character 2-letter State abbreviations specifying which are needed

end.year

end.year of 5-year summary file such as '2021'

Value

Character vector of file names, example: "g20215md.txt" Note this is only needed once per state, not once per seqfile. (It might even be available as a single US file?)

See Also

get.acs() and download.geo() which uses this


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