Skip to contents

It returns a character with the url to download the image.

Usage

get_download(x)

Arguments

x

a records object.

Value

download 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)
# coerce the records to rtoi
get_download(rcds)
}