Skip to content

Economic/epiextracts

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

EPI uniform extracts of the Current Population Survey

This repository creates cleaned uniform extracts of the CPS basic monthly, outgoing rotation group, and May supplement files.

Get the data and documentation

You probably just want the data and documentation available here.

Create from source

  1. Stata processes the raw data, generates the cleaned datasets, and creates most of the .md files used in the documentation. Run master.do from the project root to load into memory global macros for the directory structure as well as the Stata programs used to generate the data and documentation.

  2. mkdocs processes the .md files to create the documentation website.

  3. A Makefile deploys the data, code, and documentation to public and internal EPI servers.

Convert raw source data into Stata datasets

For 1994-present, use the process_rawbasic program to convert the BLS/Census raw data into Stata files. For example,

process_rawbasic, begin(1994m1) end(2018m10)

For 1973-1993, the CPS extracts rely on data from Unicon already saved as Stata .dta files.

Create EPI CPS extracts from Stata source files

Use the create_extracts program to create the May/ORG/Basic extracts. For example,

create_extracts, begin(1973m1) end(2018m10)

Create the documentation

Run code/docs/createdocs.do to create the data-specific .md files used in the documentation. Then use mkdocs to generate the website.

About

EPI uniform extracts of the Current Population Survey Basic Monthly, Outgoing Rotation Group, and May surveys

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages