R/get_qcew_data.R
download_qcew_sic_data.Rd
Download QCEW dataset from directly from the BLS website for SIC Industries
download_qcew_sic_data(target_year, path_data = "./", frequency = "quarter", url_wayback = "", unzip_dir = T, download = T, verbose = F)
target_year | year for which we want to download the data |
---|---|
path_data | where does the download happen: default current directory + tmp |
frequency | download the quarterly files or the yearly files (default is quarterly) |
url_wayback | allows to specify the path in internet wayback machine that kept some of the archive |
unzip_dir | unzip the file |
download | default is TRUE, FALSE only returns the url |
verbose | how does the function output intermediate stages |
file complete path. Downloads the file to the current directory and unzips it.