| check_string | R Documentation |
Identifies open nomenclature (aff., cf.) in species scientific name, classification under species level (var. and subsp.), and common mistakes in the a species scientific name. It creates a new column with the original string and the new suggested name. It also flags problematic names (character string with numbers, authors, wrong case, or other names besides genus and epithet etc).
check_string(species = NULL, drop_infra = FALSE)
species |
species name in a raw format |
drop_infra |
Logical. Either to remove any infraspecies classification. Defaults to FALSE |
Possible flags returned in 'species_status':
possibly_okscientific name following the expected pattern Genus epithet
not_Genus_epithet_formatscientific name not following the expected pattern Genus epithet
varietyspecies scientific name with variety
subspeciesspecies scientific name with subspecies
formspecies scientific name with form
conferreopen nomenclature cf. in species scientific name
affinisopen nomenclature aff. in species scientific name
groupopen nomenclature gr. in species scientific name
name_w_authorsspecies scientific name has authors
not_name_has_digitsspecies scientific name has digits, not a valid name
indetspecies identified only at genus level
family_as_genusfamily as genus, not a valid name
order_as_genusorder as genus, not a valid name
species_novaspecies name contains an indication of a new species, possibly not yet a valid name
name_w_non_asciispecies name has non ASCII characters, not a valid name
hybrid_specieshybrid species
not_availableany species entry related to Not Available (NA) status
Data frame with 'verbatimSpecies' as in the original input, 'speciesStatus' with the flags in original data, 'species' with a suggestion for a more correct species name, and 'remove_author' a boolean column indicating if the original input had author names. See Details for a description of flags in the column 'speciesStatus'.
Sara Mortara & Andrea Sánchez-Tapia
check_string("Lindsaea lancea var. falcata")
check_string(c("Lindsaea lancea var. falcata", "Asplenium Aff. truncorum"))
check_string("Asplenium sp.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.