Download QCEW dataset from directly from the BLS website

download_qcew_data(target_year, industry = "naics", path_data = "./",
  frequency = "quarter", url_wayback = "", unzip_dir = T, download = T,
  verbose = F)

Arguments

target_year

year for which we want to download the data

industry

download naics or sic 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

Value

file complete path. Downloads the file to the current directory and unzips it.