#' Convert base64 encoded data to a data frame
#'
#' This function converts raw base64 results into a data frame.
#' @param x \dots
#' @importFrom utils read.csv
#' @export
#' @examples \dontrun{
#' base64_to_df()
#' }
base64_to_df <- function(x) {
raw_csv <- rawToChar(base64enc::base64decode(x))
return(read.csv(textConnection(raw_csv), stringsAsFactors = FALSE, sep = ";"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.