Learn R Programming

GDELTtools (version 1.2)

GetAllOfGDELT: Download all the GDELT files to a local folder

Description

Downloads all (missing) GDELT files. ** This takes a long time and a lot of space. **

Usage

GetAllOfGDELT(local.folder,
  data.url.root = "http://data.gdeltproject.org/events/", force = FALSE)

Arguments

local.folder

character, path to the file to be validated.

data.url.root

character, URL for the folder with GDELT data files.

force

logical, if TRUE then the download is carried out without further prompting the user.

Value

logical, TRUE if all files were downloaded successfully.

References

GDELT: Global Data on Events, Location and Tone, 1979-2012. Presented at the 2013 meeting of the International Studies Association in San Francisco, CA. http://www.gdeltproject.org/

Examples

Run this code
# NOT RUN {
GetAllOfGDELT("~/gdeltdata")
# }

Run the code above in your browser using DataLab