# NOT RUN {
# Check which countries are available for ACLED
info_xSub(data_source="ACLED")
# Download ACLED data for Egypt, at country-year level
# }
# NOT RUN {
my_file <- get_xSub(data_source = "ACLED",country_iso3 = "EGY",
space_unit = "adm0",time_unit = "year")
# }
# NOT RUN {
# 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")
# }
# NOT RUN {
# }
# NOT RUN {
# Download ACLED data for Egypt, event level
my_file <- get_xSub(data_source = "ACLED",country_iso3 = "EGY",
data_type = "event")
# }
# NOT RUN {
# }
# NOT RUN {
# Download multiple source data for Egypt, at province-month level
my_file <- get_xSub(sources_type = "multiple",country_iso3 = "EGY",
space_unit = "adm1",time_unit = "month", geo_window = "1 km",
time_window = "1 day", dyad_type = "undirected")
# }
Run the code above in your browser using DataLab