R/tabular_transform.R
add_datepart.Rd
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)
df
field_name
prefix
drop
time
data frame