update_occFiles: Update Webtool Herbarium occurrence files

View source: R/RandR_webtool_update_occFiles.R

update_occFilesR Documentation

Update Webtool Herbarium occurrence files

Description

Update Webtool Herbarium occurrence files

Usage

update_occFiles(
  theseTaxa = "all",
  srcFolder = NULL,
  addTaxontoPath = FALSE,
  dstFolder = NULL,
  taxonTablePath = NULL
)

Arguments

theseTaxa

Character. Vector of one or more taxon names to be processed. Default of 'all' causes all acceptedNames in the table pointed to by taxonTablePath to be processed.

srcFolder

Character. Path representing the source folder. See Details for more information.

dstFolder

Character. Path representing the destination folder. See Details for more information.

taxonTablePath

Character. Full path to the webtool taxon table to be used as a source of taxon names. Only required if theseTaxa == 'all',

addTaxonToPath

Logical. Should the taxon name be added to the srcFolder. Default is FALSE.

Details

The source path is interpreted as high-level folders within which a folder exists for each taxon listed in the current version of the R&R Webtool taxonTable stored at /rbgsyd-restore-and-renew-git-repos/rbgsyd-restore-and-renew-data/data

Source files are expected to be as produced by the function filterALAdata in the package processALA. The fields in these files are stripped-down for the webtool version.

The destination folder has no sub-folders; output files are written directly to the folder.


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