get_data {canvasXpress.data}R Documentation

Get the file handle for given file in the package

Description

Get the file handle for given file in the package

Usage

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


sannot_file <- get_data("network_compact.tsv")

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


[Package canvasXpress.data version 1.34.2 Index]