Description Usage Arguments Value
This function will download attachment files associated with a dataset into specified directory.
1 2 3 | bef.portal.get.attachments(dataset,
directory = bef.options("download_dir"),
curl = getCurlHandle(), ...)
|
dataset |
The ID of dataset you like to fetch the attachments from. You find the ID on the dataset page on the BEFdata portal. |
directory |
The directory to store attachment files to. By default it creates a folder called "downloads" under the current working directory. The default can be changed by bef.options. |
curl |
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint). |
... |
arguments passed to
|
A data frame of file information is returned invisibly. NULL is returned when the dataset has no attachement files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.