cps_employment_data_extraction: CPS emlpoyment data extraction

Description Usage Arguments Examples

View source: R/bls_cps_extraction.R

Description

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.

Usage

1

Arguments

years

Array containing the year or years for which we want to extract the data

directory

Directory where files will be saved

Examples

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)

JFGallegos/bls_download_data documentation built on Aug. 27, 2019, 10:42 p.m.