Description Usage Arguments Details Value Note Author(s) See Also
Download trait-data from SPEAR (http://www.systemecology.eu/spear/spear-calculator/).
1 | get_traits(check = TRUE)
|
check |
logical; should the database be checked if up-to-date? |
In order to minimize traffic on server trait-data is
saved locally. get_traits()
downloads the
trait-data from server to a file 'traits.csv' in the
working directory.
If the file already exists in the working directory a check is performed if the file is up-to-date with the database.
a data.frame with the trait-database.
Normally, get_traits()
is not called separately
and is the default in spear()
.
Therefore the trait-table is downloaded once into the
workspace and checked if up-to-date with the web-server
when spear()
is used.
'check' should be set to FALSE
if working offline
(since the check require an internet connection)
Eduard Szoecs eduardszoecs@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.