parse_taxa: Parsing scientific names

View source: R/parse_taxa.R

parse_taxaR Documentation

Parsing scientific names

Description

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

Usage

parse_taxa(taxa)

Arguments

taxa

A character string, usually the scientific name of a plant species

Details

The details are explained in the value section

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

Author(s)

Jinlong Zhang

See Also

status, make_checklist

Examples


parse_taxa("Epirixanthes elongata Blume")
parse_taxa("Epirixanthes elongata")


helixcn/plantlist documentation built on Aug. 4, 2022, 1:22 p.m.