View source: R/getInvaCostVersion.R
getInvaCostVersion | R Documentation |
This function will download the requested major release of 'InvaCost' to the specified file, then read it into R, such that analyses done on older releases of the database can be reproduced.
getInvaCostVersion(version = "4.1", destination_file = NULL)
version |
|
destination_file |
|
The public archive for 'InvaCost' releases is available here: https://figshare.com/articles/dataset/InvaCost_References_and_description_of_economic_cost_estimates_associated_with_biological_invasions_worldwide_/12668570
The files used in this function correspond to official releases by the
'InvaCost' team and are downloaded in CSV (sep = ";"
) from a dedicated
GitHub repository: https://github.com/Farewe/invacost_versions
a data.frame
with dimensions variable depending on the chosen
version.
Boris Leroy leroy.boris@gmail.com, Andrew Kramer, Anne-Charlotte Vaissière, Christophe Diagne
https://github.com/Farewe/invacost
Leroy Boris, Kramer Andrew M, Vaissière Anne-Charlotte, Kourantidou Melina, Courchamp Franck & Diagne Christophe (2022). Analysing economic costs of invasive alien species with the invacost R package. Methods in Ecology and Evolution. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/2041-210X.13929")}
invacost <- getInvaCostVersion("1.0")
dim(invacost)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.