The Correlates of State Policy Project includes more than 2000 variables, with observations across the 50 U.S. states and across time (1900–2016, approximately). These variables represent policy outputs or political, social, or economic factors that may influence policy differences. The codebook includes the variable name, a short description of the variable, the variable time frame, a longer description of the variable, and the variable source(s) and notes.
This aggregated dataset is only possible because many scholars and students have spent countless hours creating, collecting, cleaning, and making data publicly available. Thus, if you use the dataset, please cite the original data sources.
For more information, visit http://ippsr.msu.edu/public-policy/correlates-state-policy.
This package includes the full Correlate of State Policy Project dataset, subsets of the larger data according to the Correlates of State Policy codebook (https://ippsr.msu.edu/sites/default/files/CorrelatesCodebook.pdf), and functions that allow users to find the descriptions, citations, and years available for each variable.
The most accessible way to download and use this package is through RStudio.
devtools::install_github("shaylafolson/cspp")
library(cspp)
data(csppFull)
# to get the citation for a variable
citation("poptotal")
# to get the description for a variable
quickDescribe("poptotal")
fullDescribe("poptotal")
# to get the years available for a variable
years("poptotal")
For a quick introduction to the data and package, view the vignette or the tutorial below.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.