View source: R/unzip.datafiles.R
unzip.datafiles | R Documentation |
Unzip ACS datafile for each specified US State, extracting specified table(s), downloading missing zip files first.
unzip.datafiles(
tables,
mystates,
folder = getwd(),
end.year = acsdefaultendyearhere_func(),
testing = FALSE,
attempts = 5,
silent = FALSE
)
tables |
Character vector of table numbers needed such as 'B01001' |
mystates |
Character vector of 2-character state abbreviations. Default is all states. |
folder |
Default is current working directory. |
end.year |
optional – specifies last year of 5-year summary file. |
testing |
Default is FALSE. If TRUE, prints more info. |
attempts |
Default is 5, specifies how many tries (maximum) for unzipping before trying to redownload and then give up. |
silent |
Default is FALSE. Whether to send progress info to standard output. |
Side effect is unzipping file on disk (unless testing=TRUE)
get.acs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.