View source: R/RandR_webtool_update_taxonTable.R
makeTaxonTable | R Documentation |
Make a new version of the R&R webtool taxon table from the latest R&R database table taxonTable.
makeTaxonTable(taxonTablePath = NULL, newTaxa = NULL)
taxonTablePath |
Character. Full path to a version of taxonTable.csv to be updated. |
newTaxa |
Character. One or more taxonomic names to be added to a refreshed taxon table. |
The webtool taxon table referenced in taxonTablePath is updated to included any taxa listed in newTaxa. The functions in R-package processALA are used to provide:
Canonical accepted taxon names derived from the National Species List (NSL) hosted by the Atlas of Living Australia (ALA)
Synonyms for accepted names to allow users some flexibility in identifying the taxon of interest
Additional data for display in the webtool pages such as formatted full species name, the family to which each taxon belongs (according to the NSL), URLs to PlantNET and ALA pages for the taxon
## Not run: # Update existing taxa i.e. no new taxa added: makeTaxonTable("/home/folder/taxonTable.csv") # Add a new taxon: makeTaxonTable("/home/folder/taxonTable.csv", "Pimelea spicata") # Add several taxa: makeTaxonTable("/home/folder/taxonTable.csv", c("Pimelea spicata", "Doryphora sassafras", "Bidens pilosa")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.