gap.find: Returns indicies for missing NEON data

Description Usage Arguments Value Author(s)

Description

Given a data frame of NEON data, gap.find will return either a list rows or list of timestamps. Each returned list is list of missing timestamps, missing data (all NAs), and data with no values, but that are still quality flagged.

Whether rows of missing data or timestamps are returned depends on the return parameter. If return = "index", the returned list components will be as follows:

miss.indx - The row numbers where timestamps and data were missing
no.data.indx - The row numbers where data are missing, but are quality flagged
no.qf.indx - The row numbers where all data and QFs were 'NA'

If return = "times", the returned list components will be as follows:

miss.times - The times where timestamps and data were missing
na.data.times - The times where all data and QFs were 'NA'
no.qf.times - The times where data are missing, but are quality flagged

Usage

1
gap.find(data, time.agr, return)

Arguments

data

A data frame of NEON data returned from the API or SOM tool.

time.agr

Optional, but recommended. The data aggregation period of the input data (difference between timestamps in minutes), if not specified it will guess at the value.

return

Optional. Used to specifiy whether row numbers ("index") or timestamps ("times") are returned. Defaults to row numbers if not specified.

Value

Outputs a list of lists of row numbers or timestamps where data is missing.

Author(s)

Robert Lee rlee@battelleecology.org


rhlee12/Noble documentation built on May 31, 2019, 10:36 a.m.