Description Usage Arguments Value Examples
Check a data frame of quadrat data for duplicate data (possibly data entry error). User supplies list of "key" column names that should define a unique entry (e.g. quadrat, date, species should be associated with a single count value). This function ignores rows with NA or missing values in the key columns.
1 | find_duplicate_rows(df, columns)
|
df |
Data frame of quadrat data |
columns |
Vector of column names that determine unique key. (e.g. columns = c('quadrat', 'date', 'species')) |
Rows from df that are duplicates according to the given key, plus an additional column indicating error_type. If there are no errors, this will return an empty data frame.
1 | find_duplicate_rows(df, columns = c('quadrat', 'year', 'month', 'USDA_code'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.