Skip to contents

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