annotateFulcrum Adds additional collection location information to the final Fulcrum dataframe

annotateFulcrum(data, dir = NULL, select_vars = F)

Arguments

data

A single dataframe generated with the joinFulcrum function.

dir

The path to the base fulcrum directory. Within this directory, data/raw/annotate should contain: island.csv, location.csv, trails.csv

select_vars

Logical, TRUE will return only the default variables, FALSE will return all variables. FALSE is recommended if using customized Fulcrum applications other than "Nematode field sampling" and "Nematode isolation". FALSE is default.

Value

A single dataframe containing all Fulcrum data sources. This data frame contains all necessary variables from Fulcrum. It also contains data quality flags. The variable names match the data dictionary.