- data
A data.frame/tibble containing columns "param" and
"value" (at least), but more typically columns "location", "param",
"datetime" (or "date", depending on the type of data), and "value".
- locations
The locations table, which is a data frame containing the
columns (at least) "dataset", and "location". If omitted, it will be
created automatically using all unique dataset/location combinations.
- params
The params table, which is a data frame containing the columns
(at least) "dataset", and "param". If omitted, it will be created
automatically using all unique dataset/param combinations.
- datasets
The datasets table, which is a data frame containing the
column (at least) "dataset". If omitted, it will be generated automatically
using all unique datasets.
- columns
The columns table, which is a data frame containing the
columns (at least) "dataset", "table", and "column". If omitted, it will be
created automatically using all dataset/table/column combinations.
- x_columns
A vector of column names from the data table that in
combination with "dataset", "location", and "param" identify unique rows.
These will typically be guessed using the column names between "param" and
"value".
- ..., more_tbls
More tbls (as named arguments) to be included in the
mudata object
- dataset_id
The dataset to use if a "dataset" column is omitted.
- location_id
The location if a "location" column is omitted.
- validate
Pass FALSE to skip validation of input tables using
validate_mudata.