filter_by_new <- function(.data, filter = TRUE, date = attr(.data, "date")) {
if (filter) dplyr::filter(.data, .data[["date_added"]] == date) else .data
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.