downloader | R Documentation |
This function deals with the authenification and download the files. (currently a bit hardcoded, will be improved soon)
downloader(x, rootDir = "./", user, password)
x |
|
rootDir |
|
user |
|
password |
|
vector
with path/filename to the locally stored zip archives.
Matteo Mattiuzzi
## Not run: x <- composeUrl(productType = 'FSC', productIdentifier = 'T29UNV', startDate='2020-07-01', completionDate='2020-07-31') if(require(rjson)){ x <- fromJSON(file = x) x <- selector(x) downloader(x, user='yourUser', password='yourPassword',rootDir=tempdir()) } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.