get_api_name: Get the API name of a 'records'

get_api_nameR 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 records object.

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)

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