dts_completed: Test if the DateTime in a DateTime-Series is complete.

View source: R/completed.R

dts_completedR Documentation

Test if the DateTime in a DateTime-Series is complete.

Description

Test if the DateTime in a DateTime-Series is complete.

Usage

dts_completed(
  x,
  dtt = "DateTime",
  floored = TRUE,
  unique = TRUE,
  sorted = TRUE,
  units = dttr2::dtt_units(x[[dtt]])
)

Arguments

x

A dts data frame

dtt

A string specifying the column with the Date or POSIXct values.

floored

A flag indicating whether x should be floored.

unique

A flag indicating whether the values must be unique.

sorted

A flag indicating whether the vector must be sorted.

units

A string of the units.

Value

A flag indicating whether complete.

See Also

dtt_completed

Examples

dts_completed(dts_data[c(1,3),])

poissonconsulting/dts documentation built on March 10, 2024, 6:21 a.m.