#' Backup expenses
#'
#' Save a copy of the expenses record in the history folder of the current database.
#' @export
backup_expenses <- function(){
file.copy("expenses.txt", paste0("history/expenses ", as.character(Sys.time()), ".txt"))
}
#' Backup incomes
#'
#' Save a copy of the incomes record in the history folder of the current database.
#' @export
backup_incomes <- function(){
file.copy("incomes.txt", paste0("history/incomes ", as.character(Sys.time()), ".txt"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.