Description Usage Arguments Value Examples
append_to_data
1 2 3 4 5 6 | append_to_data(
dataframe,
Date = as.character(format(Sys.Date(), "%d-%m-%Y")),
Hour = substr(Sys.time(), 12, 16),
...
)
|
dataframe |
The dataframe to append data to |
Date |
The date at which the event happened. Format dd-mm-yyy |
Hour |
The hour at which the event happened. Format hh:mm |
... |
the data to append. It has to be named and to be related to the different names |
new data frame with new rows
1 2 3 4 | dummy_data <- utils::read.csv(file.path(system.file("extdata", package = "NewBoRn"),
"dummy_data.csv"))
dummy_data <- dplyr::select(.data = dummy_data, -X)
append_to_data(dataframe = dummy_data, Lactation_Left = TRUE, Temperature = 37.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.