Infer US States based on ACS 5-yr filenames in folder
Source:R/getstatesviafilenames.R
      getstatesviafilenames.RdHelper 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())See also
read.concat.states() which uses this