WFO.remember | R Documentation |
The function remembers where the Taxonomic Backbone data was downloaded to. In case that no arguments are specified, then data.frame WFO.data
will contain the previously specified Taxonomic Backbone data.
WFO.download(WFO.url =
paste0("https://files.worldfloraonline.org/files/WFO_Backbone/",
"_WFOCompleteBackbone/WFO_Backbone.zip"),
save.dir = getwd(), WFO.remember = TRUE,
timeout = 500, ...)
WFO.remember(WFO.file = NULL, WFO.data = "WFO.data", WFO.pos = 1)
WFO.url |
Hyperlink to the download from the World Flora Online. |
save.dir |
Directory where the file will be downloaded and unzipped. |
WFO.remember |
Remember the location of the file for |
timeout |
Timeout in seconds for some internet operations, to be modified among Options Settings. |
... |
Other arguments for download.file. |
WFO.file |
File path to the Taxonomic Backbone data ('classification.txt'). |
WFO.data |
Name of data set to be used by other WorldFlora functions. |
WFO.pos |
Argument pos as in assign. |
These functions avoid that a user needs to reload and re-specify the location of the Taxonomic Backbone data that was previously downloaded from the World Flora Online website. The location is saved in a text file in the 'etc' directory of the WorldFlora directory.
The function remembers the local location of the Taxonomic Backbone data.
Roeland Kindt (World Agroforestry)
## Not run:
# change the working directory
setwd(choose.dir())
# download the Taxonomic Backbone data
WFO.download()
# remember the previous download and avail the data as 'WFO.data'
WFO.remember()
# check
WFO.match("Faidherbia albida", WFO.data=WFO.data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.