View source: R/append_date_generated_line.R
append_date_generated_line | R Documentation |
Function to add new row with the generated date. Before the date a pretext can be set.
append_date_generated_line(
data,
pretext = "Datauttrekket er gjort",
date = format(Sys.Date(), "%d/%m/%Y")
)
data |
[ |
pretext |
[ |
date |
[ |
Two rows are added to the data frame, the first is empty, the second has the generated date in the first column.
data.frame
with two additional rows, one empty and one with the generated date in the first column.
Petter Hopp Petter.Hopp@vetinst.no
## Not run:
# Add row with generated date using standard values
gris_virus_slaktegris_utvalg <- append_date_generated_line(gris_virus_slaktegris_utvalg)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.