# NOT RUN {
# Check which countries are available for ACLED
info_xSub(data_source="ACLED")
# Download ACLED data for Egypt, at country-year level
my_file <- get_xSub(data_source = "ACLED",country_iso3 = "EGY",
space_unit = "adm0",time_unit = "year")
# Download ACLED data for Egypt, at district-month level
# }
# NOT RUN {
my_file <- get_xSub(data_source = "ACLED",country_iso3 = "EGY",
space_unit = "adm2",time_unit = "month")
# }
# NOT RUN {
# With country name instead of ISO3 code
# }
# NOT RUN {
my_file <- get_xSub(data_source = "ACLED",country_name = "Egypt",
space_unit = "adm2",time_unit = "month")
# }
Run the code above in your browser using DataLab