rs_transfer {appeears} | R Documentation |
AppEEARS data transfer function
Description
Returns the contents of the requested url as a NetCDF file downloaded to disk or the current status of the requested transfer.
Usage
rs_transfer(task_id, user, path = tempdir(), verbose = TRUE)
Arguments
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 |
Value
data on disk as specified by a
rs_request
Author(s)
Koen Hufkens
See Also
Examples
## 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)
[Package appeears version 1.1 Index]