Download all the GDELT files to a local folder

Share:

Description

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

Usage

1
2
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.

Author(s)

Stephen R. Haptonstahl srh@haptonstahl.org

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

1
2
3
## Not run: 
GetAllOfGDELT("~/gdeltdata")
## End(Not run)