Catalist-LLC / unemployment

This is the source code used to produce DEEP-MAPS estimates of the labor force, as described in the included working paper.
Other
32 stars 6 forks source link

DEEP-MAPS Model of the Labor Force

This is the source code used to produce DEEP-MAPS estimates of the labor force, as described in this working paper.

Data Sources

To run this code, you will have to download (publicly available) data from the following sources:

Code is provided to download other data:

Software

The code was primarily written in R. The following packages are used:

We also used the Vertica database to load and transform the CPS/ACS microdata. The transformations are straight forward andwritten in SQL; an alternative database can be used to do these transformations, or they can be done inside of R using the sqldf package (or others), given sufficient memory resources.

Directory Structure

Here is a brief description of the most important components of the code. To run the code, you will have to change the working directory name (or remove it entirely), and download data/packages that are listed above. To understand how the model works (and the order in which the code needs to be run), see the working paper. In the future, we intend to clean up and document the code more thoroughly, if there is sufficient outside interest.

Contributors

This code was primarily written by Yair Ghitza, in collaboration with Mark Steitz. Other members of the Catalist team contributed ideas and code review. See the working paper for additional acknowledgements.

License

See LICENSE.md.

References

[1] Sarah Flood, Miriam King, Renae Rodgers, Steven Ruggles and J. Robert Warren. Integrated Public Use Microdata Series, Current Population Survey: Version 7.0 [dataset]. Minneapolis, MN: IPUMS, 2020. https://doi.org/10.18128/D030.V7.0

[2] Steven Ruggles, Sarah Flood, Ronald Goeken, Josiah Grover, Erin Meyer, Jose Pacas and Matthew Sobek. IPUMS USA: Version 10.0 [dataset]. Minneapolis, MN: IPUMS, 2020. https://doi.org/10.18128/D010.V10.0