read_dataset {niarules} | R Documentation |
Read a CSV Dataset
Description
Reads a dataset from a CSV file and optionally parses a timestamp column.
Usage
read_dataset(
dataset_path,
timestamp_col = "timestamp",
timestamp_formats = c("%d/%m/%Y %H:%M:%S", "%H:%M:%S %d/%m/%Y")
)
Arguments
dataset_path |
A string specifying the path to the CSV file. |
timestamp_col |
A string specifying the timestamp column name (default: '"timestamp"'). |
timestamp_formats |
A vector of date-time formats to try for parsing timestamps. |
Value
A data frame containing the dataset.
[Package niarules version 0.2.0 Index]