This function takes names of columns in a data frame and converts the date format
1 2 | dateFormate(df, Column, originalFormat = "%Y-%m-%d",
newFormat = "%m/%d/%Y")
|
df |
A data frame |
originalFormat |
Specify which format the orignal columns have (needs to be consistent) |
newFormat |
Specify which format to convert to |
column |
A column name or a vector of column names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.