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

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