The timeSeriesDataSets
package provides a comprehensive collection of time series datasets for R. This package is designed to support time series analysis by offering datasets with various time series structures and suffixes to clearly indicate their time series nature.
The timeSeriesDataSets
package includes datasets from various fields such as economics, finance, energy, healthcare, and more. Each dataset in this package is identified with a suffix to denote its time series nature.
For example:
AirPassengers_ts
: Monthly airline passenger numbers from 1949 to 1960, with the_ts
suffix indicating a time series dataset.taylor_30_min_df_ts
: Half-hourly electricity demand data, also identified with the_df_ts
suffix.
You can install the timeSeriesDataSets
package from CRAN with the following command:
install.packages("timeSeriesDataSets")
To use the datasets provided by the timeSeriesDataSets package:
library(timeSeriesDataSets)
# Load a dataset
data("AirPassengers_ts")
# View the dataset
head(AirPassengers_ts)