build_type_strings: Build Type Strings

View source: R/fallingfruit.R

build_type_stringsR Documentation

Build Type Strings

Description

Builds type strings from component parts.

Usage

build_type_strings(ids = NULL, common_names = NULL,
  scientific_names = NULL, notes = NULL, science_in = "[]")

Arguments

ids

Integer vector.

common_names

Character vector.

scientific_names

Character vector.

notes

Character vector.

science_in

String of two characters in which to display scientific_names.

Value

Character vector of type strings.

See Also

Other Falling Fruit functions: build_location_descriptions, build_location_description, expand_category_mask, get_ff_types, match_type_strings, normalize_type_strings, parse_type_strings

Examples

build_type_strings(1, "Apple")
build_type_strings(scientific_names = "Malus domestica")
build_type_strings(scientific_names = "Malus domestica", science_in = "()")
build_type_strings(c(1, 2), c("Apple", "Pear"), c("Malus domestica", "Pyrus communis"))
build_type_strings(1, "Apple", "Malus pumila", "fr: Pommier commun")

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