remove_weekends: Remove weekends from the data

View source: R/date_utils.R

remove_weekendsR Documentation

Remove weekends from the data

Description

Remove weekends from the data

Usage

remove_weekends(
  dt_data,
  weekend_days = c("Saturday", "Sunday"),
  abbreviate = FALSE
)

Arguments

dt_data

object containing date data

weekend_days

string indicating the days that are classified as weekend. Default to Saturday and Sunday

abbreviate

logical indicating whether the character vector of weekend days is abbreviated or not

Value

data object with weekend days removed


ces0491/dateR documentation built on April 6, 2022, 10:17 p.m.