rsat_download | R Documentation |
records
or an rtoi
objectThe function saves the raw images in the database or the specified directory. It skips the images that already exist in the database or directory.
rsat_download(x, ...)
## S4 method for signature 'rtoi'
rsat_download(x, db_path, verbose = FALSE, ...)
## S4 method for signature 'records'
rsat_download(x, db_path, verbose = FALSE, parallel = FALSE, ...)
x |
a |
... |
additional arguments. |
db_path |
path to the database. By default, the path
is defined by the |
verbose |
logical argument. If |
parallel |
logical argument. If |
nothing. Downloads the images into your database
## Not run:
library(rsat)
# create a copy of navarre in temp file
file.copy(from=system.file("ex/Navarre",package="rsat"),
to=tempdir(),
recursive = TRUE)
# load example rtoi
navarre <- read_rtoi(file.path(tempdir(),"Navarre"))
# assign the path of the database
set_database(file.path(tempdir(),"DATABASE"))
rsat_download(navarre)
rcrds <- records(navarre)
rsat_download(rcrds)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.