Description Usage Arguments Value Examples
SUPPORTER function: Required for add_daynight function This function adds two columns of date and time to all rows of a given dataframe. The main purpose is to log any new additions of rows to the dataframe
1 |
df |
dataframe |
dataframe
1 2 3 4 5 6 | fruit_harvest <- data.frame(apples = c(4,10,12), oranges = c(8,9,10))
add_datetime(fruit_harvest)
## apples oranges date time
## 1 4 8 2015-11-26 23:47:05
## 2 10 9 2015-11-26 23:47:05
## 3 12 10 2015-11-26 23:47:05
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.