Description Usage Arguments Value Examples
Function to add "year_of" and "month_of" columns to a dataframe
1 | make_date_cols(df, date_col)
|
df |
A data frame with a date column |
date_col |
The unquoted name of the date column |
A data frame with the new date columns.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.