Parse a scientific name into different parts, namely: (1)genus, (2)species, (2)author, (3)infra-specific rank, i.e. var., f., subsp., (4)infra-specific epithet, (5)author of infra-specific rank
Value
A data.frame containing the following columns:
- TAXON_PARSED
The input taxa name
- GENUS_PARSED
The genus: letters before the first white space
- SPECIES_PARSED
The specific epithet: letters after the first white space but before the second white spaccce
- AUTHOR_OF_SPECIES_PARSED
the Author of this taxa, if no var./f./subsp. is fouund with, AUTHOR_OF_SPECIES_PARSED will include all letters (including whitespace) from the second gap onwards
- INFRASPECIFIC_RANK_PARSED
either f., var. or subsp., if these values were detected in the taxa name. If neighther f., var. or subsp. is not detected, this field will be left empty
- INFRASPECIFIC_EPITHET_PARSED
if either f., var. or subsp. is detected, letters after the "INFRASPECIFIC_RANK_PARSED" but before a white space will be extracted as INFRASPECIFIC_EPITHET_PARSED. If neighther f., var. or subsp. is not detected, this field will be left empty
- AUTHOR_OF_INFRASPECIFIC_RANK_PARSED
All the letters after INFRASPECIFIC_EPITHET_PARSED will be treated as AUTHOR_OF_INFRASPECIFIC_RANK_PARSED. If neighther f., var. or subsp. is not detected, this field will be left empty
Examples
parse_taxa("Epirixanthes elongata Blume")
#> TAXON_PARSED GENUS_PARSED SPECIES_PARSED
#> 1 Epirixanthes elongata Blume Epirixanthes elongata
#> AUTHOR_OF_SPECIES_PARSED INFRASPECIFIC_RANK_PARSED
#> 1 Blume
#> INFRASPECIFIC_EPITHET_PARSED AUTHOR_OF_INFRASPECIFIC_RANK_PARSED
#> 1
parse_taxa("Epirixanthes elongata")
#> TAXON_PARSED GENUS_PARSED SPECIES_PARSED AUTHOR_OF_SPECIES_PARSED
#> 1 Epirixanthes elongata Epirixanthes elongata
#> INFRASPECIFIC_RANK_PARSED INFRASPECIFIC_EPITHET_PARSED
#> 1
#> AUTHOR_OF_INFRASPECIFIC_RANK_PARSED
#> 1