featurette

featurette git repo

The goal of featurette is to feature and test out projects and packages!

Repo: https://github.com/EvaMaeRey/featurette

  1. template.html source
  2. 2024-02-07-facet-ref-shadow/facet-ref-shadow.pdf source
  3. 2024-02-07-facet-ref-shadow/facet-ref-shadow.html source
  4. 2024-01-18-bounding-box-question/bounding-box-question.html source
  5. 2024-01-08-coords/coords.html source
  6. 2024-01-03-waterfall/waterfall.html source
  7. 2023-12-18-ggsmoothfit/ggsmoothfit.pdf source
  8. 2023-12-18-ggsmoothfit/ggsmoothfit.html source
  9. 2023-12-18-ggnaturalearth/ggnaturalearth.html source
  10. 2023-12-15-wedge-circle-of-5ths/wedge-circle-of-5ths.html source
  11. 2023-12-13-prop-is-hard-to-use/prop-is-hard-to-use.html source
  12. 2023-12-06-stat-sum-lubridate/stat-sum-lubridate.html source
  13. 2023-12-06-ggsample/ggsample.html source
  14. 2023-12-05-nine-pies/nine-pies.html source
  15. 2023-12-04-advent-todo/advent-todo.html source
  16. 2023-12-01-rladies-on-a-wire/rladies-on-a-wire.html source
  17. 2023-11-28-ggwedge-geom-pie/ggwedge-geom-pie.html source
  18. 2023-11-27-ggedgelist-gg-cran-extenders/ggedgelist-gg-cran-extenders.html source
  19. 2023-11-08-ggpie-titanic/ggpie-titanic.html source
  20. 2023-11-07-ggplot-pie-charts/ggplot-pie-charts.pdf source
  21. 2023-11-07-ggplot-pie-charts/ggplot-pie-charts.html source
  22. 2023-11-02-help-quote-mtcars/help-quote-mtcars.html source
  23. 2023-10-30-stat-smooth-mtcars/stat-smooth-mtcars.html source
  24. 2023-10-30-ggformula-penguins/ggformula-penguins.html source
  25. 2023-10-28-diamonds-barlabs/diamonds-barlabs.html source
  26. 2023-10-26-tswift-keys/tswift-keys.html source
  27. 2023-10-26-horror-articles/horror-articles.html source
  28. 2023-09-13-ggcirclepack-global-human-day/global_human_day.html source

code to write new featurette

new_experiment <- function(name){
  
  dir <- paste0(Sys.Date(),"-", name)
  
  dir.create(dir)
  readLines("template.Rmd") |>
    writeLines(con = paste0(dir,"/", name, ".Rmd"))
  
}  

new_experiment(name = "bounding-box-question")



build_mp4 <- function(name){
  
  # create list of htmls
  webpages <- fs::dir_ls(type = "file", recurse = T, glob = "*.html") %>% rev()
  
  # grab target html
  target_html <- webpages[grep(name, webpages)][1]
  
  # build mp4
  xaringanBuilder::build_mp4(input = target_html, fps = 1.4)
  # xaringanBuilder::build_pdf(input = target_html)
} 

build_mp4("facet-ref-shadow")