parse_scientific_names: Parse Scientific Names

View source: R/helpers.R

parse_scientific_namesR Documentation

Parse Scientific Names

Description

Extracts components of scientific names.

Usage

parse_scientific_names(x, parts = c("taxon", "subtaxons", "connectors",
  "cultivars"))

Arguments

x

Character vector.

parts

Parts of the scientific names to extract.

Value

List of character vectors (for "taxon") and lists of the same length as x.

See Also

Other helper functions: capitalize_words, ch1903_to_wgs84, clean_strings, format_addresses, format_scientific_names, is.empty, lvapply, melt_by_listcol, na.remove, normalize_language, quotemeta, replace_values_in_list, sp_transform, subset_search_results, unique_na

Examples

parse_scientific_names(c("Malus pumila", "Prunus persica"), parts = "taxon")
parse_scientific_names("Prunus persica var. nucipersica 'Crimson King'")

falling-fruit/fruitr documentation built on Dec. 21, 2024, 8:32 p.m.