Pre-Process Chronology of Constitutional Events (CCE) Data
Arguments
- cce
A
data.frame
ordata.table
of CCE data.- cow_fix
Logical to hardcode changes to CCE cowcode values for Yugoslavia/Serbia, present day Germany, and present day Yemen to match official CoW designations.
- evnttype_fix
Logical to hardcode (presumed) typos in
evnttype
coding.- years
Numeric vector of length 2 to subset data with.
Examples
cce<-demcon::get_cce(del_file=TRUE, write_out = FALSE)
cce<-demcon::prep_cce(cce, cow_fix = TRUE, evnttype_fix = TRUE)