# just call `library(tidyverse)` at the top of the your script.
library(magrittr)
library(dplyr)
create_stateyears(system = "gw", subset_years = c(1946:2024)) %>%
add_ucdp_acd()
create_stateyears(system = "gw", subset_years = c(1946:2024)) %>%
add_ucdp_acd(type = 'intrastate', issue = 'government')
Run the code above in your browser using DataLab