Learn R Programming

GDELTtools (version 1.7)

GetAllOfGDELT: Download all the GDELT V1 Event files to a local folder

Description

Downloads all GDELT V1 Event files not already present locally. ** This takes a long time and a lot of space. **

Usage

GetAllOfGDELT(
  local_folder,
  data_url_root = "http://data.gdeltproject.org/events/",
  force = FALSE
)

Value

logical, TRUE if all files were downloaded successfully.

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.

Author

Stephen R. Haptonstahlsrh@haptonstahl.org

References

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

Examples

Run this code
if (FALSE) {
GetAllOfGDELT("~/gdeltdata")} 

Run the code above in your browser using DataLab