Skip to contents

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

Usage

historic_indices_ok(historic_indices, first_orig_year, last_orig_year)

Arguments

historic_indices

Dataframe, see description of expand_historic_indices().

first_orig_year

First origin year with full history.

last_orig_year

Last origin year.

Value

TRUE if every check is passed, else FALSE.

Examples

historic_indices_ok(historic_indices_xmpl, 2015, 2023)
#> [1] TRUE