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

View source: R/GetAllOfGDELT.R

GetAllOfGDELTR Documentation

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
)

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-2013. Presented at the 2013 meeting of the International Studies Association in San Francisco, CA. https://www.gdeltproject.org/

Examples

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

GDELTtools documentation built on Sept. 29, 2023, 9:07 a.m.