Function to read yearly CSV files in the DELTA format
read_delta_yearly_file.Rd
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()
.
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
See also
Other delta reading functions:
read_delta_config()
,
read_delta_data_cdf()
,
read_delta_data_delim()
,
read_delta_resource()
,
read_delta_yearly_dir()