download_qcew_sic_data: Download QCEW dataset from directly from the BLS website for...

download_qcew_sic_dataR Documentation

Download QCEW dataset from directly from the BLS website for SIC Industries

Description

Download QCEW dataset from directly from the BLS website for SIC Industries

Usage

download_qcew_sic_data(target_year, 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

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.


eloualiche/entrydatar documentation built on Aug. 20, 2023, 1:56 p.m.