This will read from or write to a set of files: a CSV file for the data, and a YAML file for the meta-data.
stw_read_dataset(file_data, file_meta = NULL, ...) stw_write_dataset(dataset, file_data, file_meta = NULL, ...)
file_data |
|
---|---|
file_meta |
|
... | additional arguments passed on to |
dataset | Object with S3 class |
invisible copy of dataset
At the moment, this provides minimal functionality. In the future, we can imagine usung the metadata to create a function that would read a file that comports to the meta-data specifications. The data frame would have all its factor levels set, and in the farther future, have a timezone set for datetime columns.