#' month_start
#'
#' An easy function for finding the start date of a month
#' @param x A date
#' @export
month_start <- function(x) {
y <- as.Date(format(x, "%Y-%m-01"))
return(y)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.