lookup_species: Match species origin, growth form and type

Description Usage Arguments Value

Description

lookup_species searches for matching species in a species look up table species_lookup_data for all observed species in the raw field data frame raw_field data and adds three new columns containing the type, origin, and growth_form of the matched species.

Usage

1
lookup_species(raw_field_data, species_lookup_data)

Arguments

raw_field_data

A data_frame of raw percentage cover counts at the quadrat level, grouped by transect. Should contain the columns: transect_number, quadrat, species, and percent_cover.

species_lookup_data

A data_frame containing a key column of species names in the format and associated value columns: type, origin, and growth_form of the matched species. The full list of species observed during a whole season's field work should be present in the species column.

Value

raw_field_data_w_species_type The new data frame containing the type, origin, and growth_form of the matched species.


egouldo/GrasslandAllocatr documentation built on May 16, 2019, 12:15 a.m.