npe_eventID_fixer {neonPlantEcology}R Documentation

fix errors in the eventID column

Description

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.

Usage

npe_eventID_fixer(x, verbose = FALSE)

Arguments

x

raw list data from NEON api

verbose

if true, prints details of which eventID errors were fixed into the console

Value

the same list object but with repaired eventIDs

Examples

data("D14")
x <- npe_eventID_fixer(D14)

[Package neonPlantEcology version 1.6.1 Index]