rs_transfer | R Documentation |
Returns the contents of the requested url as a NetCDF file downloaded to disk or the current status of the requested transfer.
rs_transfer(task_id, user, path = tempdir(), verbose = TRUE)
task_id |
R6 |
user |
user (email address) used to sign up for the AppEEARS data service,
used to retrieve the token set by |
path |
path were to store the downloaded data |
verbose |
show feedback on data transfers |
data on disk as specified by a
rs_request
Koen Hufkens
rs_set_key
rs_request
## Not run:
# set key
rs_set_key(user = "test", password = "123")
# request data and grab url and try a transfer
r <- rs_request(request, "test", transfer = FALSE)
# check transfer, will download if available
rs_transfer(r$get_task_id(), user = "test")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.