Description Usage Arguments Value Examples
Check a dataframe of quadrat data for invalid plant species codes. This function will flag species codes that are the incorrect case (species codes are assumed to be in all upper-case), as well as NA and missing values.
1 | check_species_codes(df, column_name, specieslist)
|
df |
Data frame of quadrat data |
column_name |
Name of column in df containing species codes |
specieslist |
Vector of valid species codes |
Rows from df containing invalid species codes, plus additional columns indicating error_type and error_value. If there are no errors, this will return an empty data frame.
1 | check_species_codes(dataframe, column_name = 'Species', specieslist = sp_list$USDA_codes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.