powered by
Pre-Process Chronology of Constitutional Events (CCE) Data
prep_cce( cce, cow_fix = TRUE, evnttype_fix = TRUE, years = c(min(cce$year), max(cce$year)) )
A data.frame of pre-processed CCE data.
data.frame
A data.frame or data.table of CCE data.
data.table
Logical to hardcode changes to CCE cowcode values for Yugoslavia/Serbia, present day Germany, and present day Yemen to match official CoW designations.
Logical to hardcode (presumed) typos in evnttype coding.
evnttype
Numeric vector of length 2 to subset data with.
The Comparative Constitutions Project
cce<-demcon::get_cce(del_file=TRUE, write_out = FALSE) cce<-demcon::prep_cce(cce, cow_fix = TRUE, evnttype_fix = TRUE)
Run the code above in your browser using DataLab