get_data: Get the file handle for given file in the package

Description Usage Arguments Value Examples

View source: R/get-data.R

Description

Get the file handle for given file in the package

Usage

1
get_data(file_name)

Arguments

file_name

the file name to retrieve (from the extdata folder)

Value

File handle to the given file or "" if it does not exist

Examples

1
2
3
4
5
sannot_file <- get_data("network_compact.tsv")

# then read the file, for example:
# data <- read.delim(sannot_file)
# head(data)

canvasXpress.data documentation built on June 30, 2021, 1:07 a.m.