# NOT RUN {
test.filter <- list(ActionGeo_ADM1Code=c("NI", "US"), ActionGeo_CountryCode="US")
test.results <- GetGDELT(start.date="1979-01-01", end.date="1979-12-31",
filter=test.filter)
table(test.results$ActionGeo_ADM1Code)
table(test.results$ActionGeo_CountryCode)
# }
# NOT RUN {
# Specify a local folder to store the downloaded files
# }
# NOT RUN {
test.results <- GetGDELT(start.date="1979-01-01", end.date="1979-12-31",
filter=test.filter,
local.folder="~/gdeltdata",
max.local.mb=500)
# }
Run the code above in your browser using DataLab