This repository creates cleaned uniform extracts of the CPS basic monthly, outgoing rotation group, and May supplement files.
You probably just want the data and documentation available here.
-
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. -
mkdocs processes the .md files to create the documentation website.
-
A Makefile deploys the data, code, and documentation to public and internal EPI servers.
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.
Use the create_extracts
program to create the May/ORG/Basic extracts. For example,
create_extracts, begin(1973m1) end(2018m10)
Run code/docs/createdocs.do
to create the data-specific .md files used in the documentation. Then use mkdocs
to generate the website.