Check observations for uniqueness of grouping variables with respect to reference_date
and report_date
Source: R/check.R
check_group_date_unique.Rd
This function checks that the input data is stratified by
reference_date
, report_date
, and .group.
It does this by counting the
number of observations for each combination of these variables, and
throwing a warning if any combination has more than one observation.
Arguments
- obs
An object that will be
coerce_dt
d in place, that contains.group
,reference_date
, andreport_date
columns.
See also
Functions used for checking inputs
check_calendar_timestep()
,
check_group()
,
check_max_delay()
,
check_modules_compatible()
,
check_module()
,
check_numeric_timestep()
,
check_observation_indicator()
,
check_quantiles()
,
check_timestep_by_date()
,
check_timestep_by_group()
,
check_timestep()