RIOTS

In this document we present data on the territorial dynamic of general disorder events since 2018 to 2021, and of COVID-19 related riots from March 2020 to April 2021. In this case, data is presented through maps, which track the number of events observed in each municipality.

Data was obtained via using a R library ACLED that get the official dataset

You can use the next code like a example to get the data from you country and city:

library(acled.api)

test<-acled.api::acled.api(email.address = "MAIL", access.key ="KEY OBTAINED FROM API ACLED WEBSITE", country = "Chile", start.date = "YEAR-MONTH-DAY",end.date = "YEAR-MONTH-DAY", add.variables =c("EVENT_ID_CNTY","EVENT_ID_NO_CNTY","LONGITUDE","LATITUDE") )

test<-st_as_sf(test, coords = c("LONGITUDE","LATITUDE"))

Acled stgo

Acled coronavirus