#' Pull .csv file from Tidy Tuesday repo
#'
#' @param x a path from master in tidytuesday repo.
#' @return the dataframe from a .csv
#' @examples
#' tidytuesday_csv("data/2019/2019-01-22/prison_summary.csv")
#' @export
tidytuesday_csv <- function(dataset){
readr::read_csv(paste0("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/",dataset))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.