local_storage: A utility to storage a local copy of traits data
Description
local_storage can download traits data from LEDA and
Akhmetzhanova databases and store them in a local folder.Usage
local_storage(db,directory)
Details
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.