AddEngineeredDates: AddEngineeredDates

AddEngineeredDatesR Documentation

AddEngineeredDates

Description

This function will take raw data and aggregate it by date

Usage

AddEngineeredDates(
  AGG_TS_DATA,
  DATE_COLUMN = "date",
  ADD_CHRISTMAS = TRUE,
  ADD_NEW_YEAR = TRUE,
  ADD_OTHER_HOLIDAY = TRUE,
  ADD_COVID_SHOCK = TRUE,
  DEBUG = TRUE
)

Arguments

AGG_TS_DATA

The raw dataset that will be aggregated

DATE_COLUMN

The column name containing date value

ADD_CHRISTMAS

Add a feature to identify Christmas

ADD_NEW_YEAR

Add a feature to identify New Years

ADD_OTHER_HOLIDAY

Add a feature to identify Other Holidays

ADD_COVID_SHOCK

Add a feature to identify the months where Covid was prominent

DEBUG

If TRUE, the function will run in debug mode

Value

returns a data table with the aggregated data by date and any potential group variables

Author(s)

Abraham Mathew

See Also

Other Feature Engineering: CreateTimeSeriesFeatures()


abmathewks/GoodeR documentation built on June 12, 2025, 1:48 a.m.