Read the entire ICEWS event data into memory. This takes up several GB; approximately 3GB in mid-2020.

read_icews(path = NULL, n_max = NULL)

Arguments

path

Either path to SQLite database file or raw file directory. If NULL (default), the global options will be used instead.

n_max

Maximum number of events to load, if NULL (default), no limit is used, i.e. all events are imported.

Examples

if (FALSE) {
# Both of these work, but reading from files should be quicker
from_files <- read_icews(find_raw())
from_db    <- read_icews(find_db())
}