add_datepart {fastai}R Documentation

Add datepart

Description

Helper function that adds columns relevant to a date in the column 'field_name' of 'df'.

Usage

add_datepart(df, field_name, prefix = NULL, drop = TRUE, time = FALSE)

Arguments

df

df

field_name

field_name

prefix

prefix

drop

drop

time

time

Value

data frame


[Package fastai version 2.2.2 Index]