#' Get year from timestamp
#' @export
get_year_from_timestamp <-
function(timestamp_string) {
format(as.Date(timestamp_string), "%Y")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.