npe_eventID_fixer {neonPlantEcology} | R Documentation |
neonPlantEcology is a house of cards that rests delicately upon the eventID column being in the site.bout-number.year format, and if there is any deviation from that format all hell breaks loose. This function converts any NA or non-standard eventID rows to the desired format.
npe_eventID_fixer(x, verbose = FALSE)
x |
raw list data from NEON api |
verbose |
if true, prints details of which eventID errors were fixed into the console |
the same list object but with repaired eventIDs
data("D14")
x <- npe_eventID_fixer(D14)