R/datasets.R
define_timestamp_columns_for_dataset.Rd
Define timestamp columns for the dataset.
The method defines columns to be used as timestamps. Timestamp columns on a dataset
make it possible to treat the data as time-series data and enable additional capabilities.
When a dataset has both fine_grain_timestamp
and coarse_grain_timestamp defined
specified, the two columns should represent the same timeline.
define_timestamp_columns_for_dataset( dataset, fine_grain_timestamp, coarse_grain_timestamp = NULL, validate = FALSE )
dataset | The Tabular Dataset object. |
---|---|
fine_grain_timestamp | The name of column as fine grain timestamp. Use None to clear it. |
coarse_grain_timestamp | The name of column coarse grain timestamp (optional). The default is None. |
validate | Indicates whether to validate if specified columns exist in dataset. The default is False. Validation requires that the data source is accessible from the current compute. |
The Tabular Dataset with timestamp columns defined.