Description Usage Arguments Examples
View source: R/bls_cps_extraction.R
This function downloads the Occupations files from the BLS Current Population Survey for years 2011 onwards https://www.bls.gov/cps/lfcharacteristics.htm#occind All files will be saved in the cps_all_files and mapped to TNR soc taxonomy.
1 | cps_employment_data_extraction(years, directory)
|
years |
Array containing the year or years for which we want to extract the data |
directory |
Directory where files will be saved |
1 2 3 4 | Extract 2015, 2016 and 2017 CPS data sets from BLS website
years<-c(2015:2017)
directory<-"/data/Stata/us_data/"
cps_employment_data_extraction(years,directory)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.