test_unique_observations: Test Unique Observations for Approximation functions.

Description Usage Arguments Details Value

View source: R/test_unique_observations.R

Description

Tidy indicators have observations that are unique. They must have on of the three types of values: an actual, an estimated or a missing value.

Usage

1

Arguments

indicator

An indicator table to test.

stop_on_error

Defaults to TRUE when the code stops with an error message. If FALSE, it displays non-unique values.

Details

Approximation and other filling techniques require unique observations.

This is an internal function and can give either a warning or

Value

TRUE if the test is met, otherwise warning if stop_on_error = FALSE and returns FALSE or stops with an error if stop_on_error = TRUE.


dataobservatory-eu/indicator documentation built on Dec. 19, 2021, 8:13 p.m.