A python package for working with the Current Population Survey.
Documentation is available at readthedocs.
Neither the Census Bureau nor the NBER provide a clean, RESTful API for getting CPS data. This makes working with the CPS a pain, and reproducibility nearly impossible.
What does it do?
There's a few related functions PyCPS provides:
- Downloading data dictionaries and monthly data files
- Standardizing variables across months
- Merging to create time series
pip install pycps
git clone https://github.com/TomAugspurger/pycps cd pycps pip install . pip install -r requirements.txt pip install git+https://github.com/PyTables/PyTables python setup.py install
Developed with python 3, aims to be compatible with python 2.