ingest_icews: Ingest the ICEWS Event Dataset

Description Usage Arguments Value Note Author(s) Examples

View source: R/ingest_icews.R

Description

Given a directory with individual ICEWS dataset files, quickly read them all in, name them correctly, and combine them into one dataframe.

Usage

1
ingest_icews(dir, start_date, end_date)

Arguments

dir

The path to the ICEWS folder.

start_date

Start of date range as YYYYMMDD integer format.

end_date

End of date range as YYYYMMDD integer format.

Value

A single dataframe with all the ICEWS events in the folder.

Note

This function is still in development and may contain errors and change quickly.

Author(s)

Andy Halterman, forked by Jesse Hammond

Examples

1
events <- ingest_icews("~/ICEWS/study_28075/Data/", 20101201, 20140101)

jrhammond/phoenixNet documentation built on May 19, 2019, 11:53 p.m.