If the options have been set (see setup_icews()), find_raw will return the path to the raw data file directory, find_db the database file path, and find_docs the directory containing documentation files.

find_raw(...)

find_db(...)

find_docs(...)

Arguments

...

additional elements that will be combined with the base path using base::file.path()

Value

A length 1 character vector containing the relevant path.

Examples

if (FALSE) {
find_raw()
find_docs()
find_db()

# additional elements will be combined with the base path, which makes it
# easier to get the full path for the contents of the data directory:
file_list <- dir(find_raw())
find_raw(file_list[1])
events <- read_events_tsv(find_raw(file_list[1]))
}