Read Short- and Long-Term data in the recommended MQOR data structure
read_mqor.Rd
This function reads one or more data files as well as an optional attributes
file, combines them together, and formats them in a way useful for the
{mqor}
package. Short- and Long-Term data will be distinguished using the
presence of the "Month"
column, which should only exist in short-term data.
Arguments
- file_data
Path(s) to one or more CSV files containing short- or long-term data, formatted as requested by the DELTA tool. A mix of short- and long- term data will fail.
- file_attributes
An optional path to an 'attributes' CSV file, which must contain a
"Time_Series"
column used to join the two datasets together. The attributes data can contain metadata about the main datasets, such as the name of the model, monitoring station coordinates, and so on.- delim
The delimiter used to separate columns in the input files. The default is
";"
.