read_icews: Read ICEWS events into memory

View source: R/read_icews.R

read_icewsR Documentation

Read ICEWS events into memory

Description

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

Usage

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.

See Also

query_icews(), read_events_tsv()

Examples

## Not run: 
# Both of these work, but reading from files should be quicker
from_files <- read_icews(find_raw())
from_db    <- read_icews(find_db())

## End(Not run)


andybega/icews documentation built on July 7, 2023, 1:29 p.m.