Skip to contents

It returns a character vector of urls to preview the data records.

Usage

get_preview(x)

# S4 method for records
get_preview(x)

# S4 method for records
get_download(x)

Arguments

x

a records object.

Value

preview url of a records

Examples

if (FALSE) {
# 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 preview url of each record
get_api_name(rcds)
}