# NOT RUN {
walter <- spduration::add_duration(Walter_2015_JCR,"renewed_war",
unitID = "ccode",
tID = "year",
freq = "year",
ongoing = FALSE)
walter <- spatial_SA(data = walter,
var_ccode = "ccode",
threshold = 800L)
# }
Run the code above in your browser using DataLab