get_api_name {rsat} | R Documentation |
Get the API name of a records
Description
A function to get or set the api names of an object.
Usage
get_api_name(x)
## S4 method for signature 'records'
get_api_name(x)
Arguments
x |
a |
Value
a character vector containing the API names of the
elements in x
.
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 records
rcds <- records(navarre)
# get a vector with the api name of each records
get_api_name(rcds)
## End(Not run)
[Package rsat version 0.1.21 Index]