View source: R/local_storage.R
local_storage | R Documentation |
local_storage can download traits data from LEDA and Akhmetzhanova databases and store them in a local folder.
local_storage(db,directory)
db |
can contain the following values: "AMF" and "LEDA" depending on the database which should be downloaded |
directory |
the directory where the local Rda files will be stored |
Downloading data from the web is time consuming, thus a
local storage of some traits data will speed up future data
requests; this is possible for LEDA and Akhmetzhanova
databases. The function must be run only once (ideally
before running the tr8
function for the first time):
thanks to the rappdirs
package, the downloaded data
will be stored in the directory commonly used for
user data
(which depends on the Operatim System
where R
is running). Users can change the
destination folder through the directory
parameters,
passing the full path of the directory to be used by the
function.
nothing
Gionata Bocci <boccigionata@gmail.com>>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.