Chapter 4 Output tables

From the total table resulting from the loop, the core table and extension tables are made. These are all automatically saved as .csv files.

4.1 Taxon extension

Scientific, species and genus names are added if not present.

Taxonomic information from the GBIF taxonomic backbone is added (traitdataform) and a taxonID is made.

Taxonomic information from The Plant List is added (Taxonstand).

Taxonomic information from the World Checklist of Vascular Plants is added. No package is available so the database is automatically downloaded and opened. Important! The WCVP database is from June 2020. If a new version is released, the file URL should be changed manually.

The “Taxon” extension table is made and saved as .csv file.

Example of the taxon extension table:

## Loading required package: knitr
taxonID verbatimScientificName scientificNameGBIF scientificNameTPL scientificNameWCVP verbatimInfraspecificEpithet kingdom phylum class order family genus originalNameUsage morphotype verbatimTaxonRank GBIFID TPLID WCVPID
1 Attalea allenii Attalea allenii Attalea allenii Attalea allenii NA Plantae Tracheophyta Liliopsida Arecales Arecaceae Attalea A. allenii NA NA http://www.gbif.org/species/2732754 http://www.theplantlist.org/tpl1.1/record/kew-17762 http://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:26553-2
2 Attalea amygdalina Attalea amygdalina Attalea amygdalina Attalea amygdalina NA Plantae Tracheophyta Liliopsida Arecales Arecaceae Attalea A. amygdalina NA NA http://www.gbif.org/species/2732713 http://www.theplantlist.org/tpl1.1/record/kew-17763 http://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:664411-1
3 Attalea barreirensis Attalea barreirensis Attalea barreirensis Attalea barreirensis NA Plantae Tracheophyta Liliopsida Arecales Arecaceae Attalea A. barreirensis NA NA http://www.gbif.org/species/2732742 http://www.theplantlist.org/tpl1.1/record/kew-17766 http://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:1014709-1
4 Attalea barreirensis Attalea barreirensis Attalea barreirensis Attalea barreirensis NA Plantae Tracheophyta Liliopsida Arecales Arecaceae Attalea NA NA NA http://www.gbif.org/species/2732742 http://www.theplantlist.org/tpl1.1/record/kew-17766 http://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:1014709-1
5 Attalea butyracea Attalea butyracea Attalea butyracea Attalea butyracea NA Plantae Tracheophyta Liliopsida Arecales Arecaceae Attalea S. rostrata NA NA http://www.gbif.org/species/2732721 http://www.theplantlist.org/tpl1.1/record/kew-17772 http://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:1172851-2
6 Attalea butyracea Attalea butyracea Attalea butyracea Attalea butyracea NA Plantae Tracheophyta Liliopsida Arecales Arecaceae Attalea S. butyracea NA NA http://www.gbif.org/species/2732721 http://www.theplantlist.org/tpl1.1/record/kew-17772 http://powo.science.kew.org/taxon/urn:lsid:ipni.org:names:1172851-2

4.2 Measurement or Fact extension

The “Measurement or Fact” extension table is made and saved as an .csv file.

Example of the measurement or fact table:
measurementID measurementDeterminedBy basisOfRecord references
1 de Nevers PreservedSpecimen Henderson, A. (2020a). A revision of Attalea (Arecaceae, Arecoideae, Cocoseae, Attaleinae). Phytotaxa, 444(1), 1-76.
2 Hammel PreservedSpecimen Henderson, A. (2020a). A revision of Attalea (Arecaceae, Arecoideae, Cocoseae, Attaleinae). Phytotaxa, 444(1), 1-76.
3 Croat PreservedSpecimen Henderson, A. (2020a). A revision of Attalea (Arecaceae, Arecoideae, Cocoseae, Attaleinae). Phytotaxa, 444(1), 1-76.
4 Sugden PreservedSpecimen Henderson, A. (2020a). A revision of Attalea (Arecaceae, Arecoideae, Cocoseae, Attaleinae). Phytotaxa, 444(1), 1-76.
5 Anderson PreservedSpecimen Henderson, A. (2020a). A revision of Attalea (Arecaceae, Arecoideae, Cocoseae, Attaleinae). Phytotaxa, 444(1), 1-76.
6 Duke PreservedSpecimen Henderson, A. (2020a). A revision of Attalea (Arecaceae, Arecoideae, Cocoseae, Attaleinae). Phytotaxa, 444(1), 1-76.

4.3 Occurrence extension

Verbatim SRSs are standardized to EPSG-codes. Misspelled country names are corrected and standardized.

The “Occurrence” extension table is made and saved as an .csv file.

Example of the occurrence table:
occurrenceID identificationID recordNumber institutionCode verbatimLatitude verbatimLongitude verbatimElevation verbatimCountry country geodeticDatum
1 684 4735 MO 9.40 -79.13 90 Panama PANAMA EPSG:4326
2 7 4152 NY 9.31 -78.91 300 Panama PANAMA EPSG:4326
3 718 3639 MO 9.31 -78.25 350 Panama PANAMA EPSG:4326
4 678 7301 MO 9.31 -78.91 350 Panama PANAMA EPSG:4326
5 720 7191 MO 9.43 -79.11 NA Panama PANAMA EPSG:4326
6 660 7766 MO 8.95 -83.11 NA Costa Rica COSTA RICA EPSG:4326

4.4 Core table

The core table is made from the total table and saved as .csv file. It is linked to the extension table via the “taxonID”, “measurementID” and “occurrenceID” columns.

Example of the core table:
scientificName verbatimScientificName verbatimTraitName traitName traitValue traitUnit traitID taxonID measurementID occurrenceID
Attalea allenii Attalea allenii Stflowlen Staminate_flower_length 0.98 cm NA 1 1 1
Attalea allenii Attalea allenii Straclen Staminate_rachilla_length 3.00 cm NA 1 1 1
Attalea allenii Attalea allenii Petiole Petiole_length 150.00 cm http://purl.obolibrary.org/obo/TO_0000766 1 1 2
Attalea allenii Attalea allenii Seeds Seed_count 3.00 count http://purl.obolibrary.org/obo/TO_0000445 1 1 2
Attalea allenii Attalea allenii Pinwid Median_leaflet_width 3.80 cm NA 1 1 2
Attalea allenii Attalea allenii Fruitdiam Fruit_width 3.60 cm http://purl.obolibrary.org/obo/TO_0002627 1 1 2