Code and documentation for the CenSoc project.
The 'CenSoc' dataset is a matched micro dataset containing infomartion from the 1940 US census and the social security deaths masterfile. CenSoc provides researchers with a tool for studying mortality inequalities in the US and how conditions have changed over time.
The censoc
package contains code and functions that help to fully utilize the CenSoc dataset.
In addition, this repository contains documentation outlining data sources and the matching process.
Data can be downloaded at https://censoc-download.demog.berkeley.edu.
Once you have obtained the CenSoc dataset, you will need to obtain census data of interest from IPUMS-USA. Information in this document will help on how to do that. Once you have both CenSoc and census data, you can merge them together. This example R file gives an example of how to do that.
This package is not on CRAN. To install, use devtools
:
# If you have not installed devtools, uncomment the line below
# install.packages("devtools")
devtools::install_github("MJAlexander/censoc")
For vignette using the censoc
package, please see this document.
CenSoc is an on-going project by researchers at UC Berkeley, led by Joshua Goldstein. Most of the initial code development was done by Monica Alexander.