get_dir: Get the file path of a 'records' or an 'rtoi'

get_dirR Documentation

Get the file path of a records or an rtoi

Description

Get the file path of a records or an rtoi

Usage

get_dir(x)

## S4 method for signature 'records'
get_dir(x)

## S4 method for signature 'records'
get_order(x)

## S4 method for signature 'rtoi'
get_dir(x)

Arguments

x

.

Value

the file path in the records

Examples

## Not run: 
# load example rtoi
file.copy(from=system.file("ex/Navarre",package="rsat"),
         to=tempdir(),
         recursive = TRUE)

navarre <- read_rtoi(file.path(tempdir(),"Navarre"))

# get the path of the
get_dir(navarre)

# get the records
rcds <- records(navarre)

# gets the relative path to store records data
get_dir(rcds)

## End(Not run)

rsat documentation built on March 18, 2022, 5:40 p.m.