Skip to contents

This function reads yearly data formatted as required by the DELTA tool, structured in a single file. Monitoring data structured in multiple files can alternatively be imported using read_delta_yearly_dir().

Usage

read_delta_yearly_file(file, data_type, model_name = "MODEL", delim = ";")

Arguments

file

The path to a single CSV file containing yearly data, formatted as requested by the DELTA tool.

data_type

One of "obs" or "mod"; used to correctly label the data as being observations or modelled data for later analysis.

model_name

If data_type = "mod", this value will be used to assign a model name to the data.

delim

The delimited used to separate columns in the input files. The default, ;, is prescribed by the DELTA tool.

Value

a tibble