check_incomplete: Check completeness of seed and signal data

View source: R/utils.R

check_incompleteR Documentation

Check completeness of seed and signal data

Description

This unexported helper is used internally in valid_dates to optionally issue a warning for potential completeness of seed and signal data based on dates provided.

Usage

check_incomplete(seed_date, signal_date, resolution)

Arguments

seed_date

Last date available in seed object

signal_date

First date available in signal object

resolution

Character vector specifying the temporal resolution (e.g., "weeks", "months")

Value

Operates as side-effect and returns a warning() if there are the seed and signal dates combined indicate an incomplete week or month.


rplanes documentation built on Sept. 11, 2024, 9:01 p.m.