data
availability in time-series data
Usage
hsDataAvailability(
data,
tstep = minTimeStep(data[[1]], dbg = dbg),
interval = 60 * 60 * 24,
includeCount = TRUE,
dbg = FALSE
)
Arguments
- data
data
frame with timestamp in first column- tstep
expected timestep between consecutive timestamps in seconds. Default: minimum time difference occurring in timestamps of data.
- interval
length of time intervals to which
data
is grouped, in seconds. Default: 60*60*24 = one day intervals;data
availability is calculated separately for each timeinterval
.- includeCount
if TRUE, not only the
data
availability in percent but also the number of records perinterval
from which the percentage has been calculated are included as separate columns in the resultdata
frame.- dbg
If
TRUE
, debug messages are shown