makeTaxonTable: Update the webtool taxon table

View source: R/RandR_webtool_update_taxonTable.R

makeTaxonTableR Documentation

Update the webtool taxon table

Description

Make a new version of the R&R webtool taxon table from the latest R&R database table taxonTable.

Usage

makeTaxonTable(taxonTablePath = NULL, newTaxa = NULL)

Arguments

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.

Details

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

Examples

## 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)




peterbat1/RandR.webtool.dataPrep documentation built on Jan. 7, 2023, 3:05 p.m.