read_dataset: Read a CSV Dataset

View source: R/dataset.R

read_datasetR 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.


niarules documentation built on Sept. 15, 2025, 5:08 p.m.