rmmCheckName | R Documentation |
Identify nonstandard fields
rmmCheckName(
rmm,
cutoff_distance = 3,
returnData = F,
interactiveCorrections = FALSE
)
rmm |
a range model metadata list |
cutoff_distance |
number of allowed different characters to match standardized names |
returnData |
logical. If FALSE, the function will return the (possibly) corrected rmm object. If TRUE, the function will return a data.frame containing information on incorrect names. |
interactiveCorrections |
logical. If TRUE, the user will be prompted to indicate whether the proposed correction should be accepted, thereby modifying the 'rmm' object. If FALSE, suggestions will just be printed to the screen and users can edit them manually. |
See Examples.
Either an rmm list object ('returnData=FALSE') or a data.frame containing information on possible name errors ('returnData=TRUE').
Names returned by this check may be either incorrectly named or correctly named but missing from the data dictionary.
Cory Merow <cory.merow@gmail.com>, Brian Maitner <bmaitner@gmail.com>,
Other check:
rmmCheckEmpty()
,
rmmCheckFinalize()
,
rmmCheckMissingNames()
,
rmmCheckValue()
,
rmmCleanNULLs()
rmm <- rmmTemplate() # Make an empty template
rmm$dataPrep$biological$taxonomicHarmonization$taxonomy_source <- "The Plant List"
# Add a new, non-standard field
rmm.1 <- rmmCheckName(rmm)
# Checking the names should identify the new, non-standard field we've added ("taxonomy_source")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.