knitr::opts_chunk$set(echo = TRUE)
This folder contains all of the data used in The Pudding essay My Awesome Essay published in February 2018.
This file was last updated: r format(Sys.time(), '%B %d, %Y')
directory <- case_when( params$directory == "auto" ~ here::here("assets", "data", "open_data", "intermediate"), TRUE ~ params$directory ) md <- list.files(path = directory, pattern = '*.md', recursive = TRUE, full.names = TRUE)
purrr::walk(.x = md, .f = function(x){ cat(knitr::knit_child(x, quiet = TRUE)) })
devtools::session_info()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.