Learn R Programming

RuHere (version 1.0.1)

cultivated: Dictionary of terms used to flag cultivated individuals

Description

cultivated is a list of character vectors containing keywords used to identify whether an occurrence record refers to cultivated or non-cultivated individuals.

This object is used internally by flag_cultivated() to scan occurrence fields (such as notes, habitat descriptions, or remarks) and classify records as cultivated or not cultivated based on textual patterns.

The list combines terms from plantR (plantR:::cultivated and plantR:::notCultivated) with additional multilingual variants commonly found in herbarium metadata.

Usage

cultivated

Arguments

Format

A named list with two elements:

cultivated

Character vector. Terms that indicate an individual is cultivated. Imported from plantR:::cultivated.

not_cultivated

Character vector. Terms suggesting an individual is not cultivated (e.g., “not cultivated”, “not planted”, “no plantada”, “no cultivada”), including terms from plantR:::notCultivated.

Details

These terms are matched case-insensitively after text cleaning (e.g., lowercasing and accent removal).

References

de Lima, Renato AF, et al. plantR: An R package and workflow for managing species records from biological collections. Methods in Ecology and Evolution, 14.2 (2023): 332-339.

See Also

flag_cultivated

Examples

Run this code
data(cultivated)

cultivated$cultivated
cultivated$not_cultivated

Run the code above in your browser using DataLab