#' @export
read_data <- function(file, prefix = "X") {
d <- read.table(file)
date <- rownames(d) %>% paste0("01") %>% as.Date("%Y%m%d")
as.data.table(d) %>%
set_colnames(paste0(prefix, 1:ncol(.))) %>%
cbind(date, .)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.