get_preview {rsat} | R Documentation |
Extract the url of the preview
Description
It returns a character vector of urls to preview the data records.
Usage
get_preview(x)
## S4 method for signature 'records'
get_preview(x)
## S4 method for signature 'records'
get_download(x)
Arguments
x |
a |
Value
preview url of a 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 records
rcds <- records(navarre)
# get a vector with the preview url of each record
get_api_name(rcds)
## End(Not run)
[Package rsat version 0.1.21 Index]