Skip to contents

This function checks this input data for possible mistakes, implausible entries or missing or double rows.

Usage

indices_ok(indices, first_orig_year, last_orig_year)

Arguments

indices

Dataframe for indexation, see details of prepare_data().

first_orig_year

First origin year.

last_orig_year

Last origin year.

Value

TRUE if every check is passed, else FALSE.

Examples

indices_ok(indices_xmpl, 1989, 2023)
#> [1] TRUE