#' Convert date-time into date
#'
#' @param dateTime A character vector of date-times in [DD/MM/YYYY HH:MM] form.
#' @return A cleaned character vector with [HH:MM] stripped from [DD/MM/YYYY HH:MM].
#' @export
convert_datetime_into_date = function(dateTime){
o = unlist(strsplit(dateTime, split = " "))
o = o[seq(1,length(o),by=2)]
o = as.Date(o, "%d/%m/%Y")
return(o)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.