#' \code{write_to_file} - Writes a dataframe as a CSV file.
#'
#' @param df The dataframe to write.
#'
#' @param name The name of the output file, as a character object. If a file path is not given,
#' The function assumes cwd.
#'
#' @importFrom readr write_csv
#'
write_to_file <- function(df, name){
readr::write_csv(df,name)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.