- x
A data frame or a character vector with taxonomic names. If x is
a data frame, the columns TaxonUsageID (integer with IDs for each
name), TaxonConceptID (integer with IDs for the respective taxon
concepts), and TaxonName (character) are mandatory.
Other optional columns are AuthorName (character with names'
authorities), AcceptedName (logical indicating whether the name is
an accepted name or a synonym and will be set as TRUE by default),
Level
(factor sorting taxonomic ranks in the bottom-up direction), Parent
(integer, the taxon concept ID of the parental taxon), and ViewID
(integer pointing to the ID of taxonomic view, usually a bibliographic
reference, and will be used only if 'taxonViews' is provided.
Any further column not included in the prototype of taxlist will be
considered as names' attributes and inserted in slot taxonNames.
- ...
Further arguments passed among methods. For the
'character-method'
, arguments will be passed to the
'data.frame-method'
.
- taxonTraits
A data frame with attributes of taxonomic concepts
(optional). If provided, the column TaxonConceptID is mandatorial.
- taxonViews
A data frame or biblio::lib_df with references of taxonomic
views (optional). If provided, the column ViewID is mandatorial and
have to match the homonymous column at 'x'.
- levels
A character vector setting the levels or taxonomic ranks from
the bottom to the top. This argument is optional and if missing, the
column Level will be preserved (if factor) or coerced to factor,
except in the case that no column Level is provided.
- clean_strings
Logical value, whether function clean_strings()
should
be applied to 'x' or not.