View source: R/taxon_id_worms.R
taxon_id_worms | R Documentation |
This function provide tibble object with all the columns of input table
of taxa plus new columns such as valid_name, valid_authority, valid_AphiaID,
status, synonyms, LSID, url, matchType, nOfWormsRecords, wormsRecords
obtained from Word Register of Marine Species
WoRMS rest API.
taxon_id_worms(input, taxaColumn = 1, verbose = TRUE, refine = FALSE)
input |
A |
taxaColumn |
A |
verbose |
A |
refine |
A |
The output of the function is a tibble
with the columns provided
and new columns such as: valid_name, valid_authority, valid_AphiaID, status,
synonyms, LSID, url, matchType, nOfWormsRecords, wormsRecords obtained by
Worms rest API.
The function also return, if verbose is TRUE, the list of records that don't
match with Worms name species.
Most of the labels of the columns are the terms of
Darwin Core terms.
The columns labels are annotate with the link (URI) of the
Darwin Core terms
as attributes of the tibble
.
Alessandro Oggioni, phD (2021) oggioni.a@irea.cnr.it
Paolo Tagliolato, phD (2021) tagliolato.p@irea.cnr.it
worrmsRReLTER
\insertRefdplyrRReLTER
phytoplankton <- tibble::tibble(
ID = c(1, 2, 3, 4, 5, 6, 7),
species = c(
"Asterionella formosa", "Chrysococcus sp.",
"Cryptomonas rostrata", "Dinobryon divergens",
"Mallomonas akrokomos", "Melosira varians",
"Cryptomonas rostrata"
)
)
table <- taxon_id_worms(
input = phytoplankton,
taxaColumn = 2,
verbose = TRUE,
refine = TRUE
)
table
# The annotated URIs of columns label are achieved by:
attributes(table)$uri
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.