Last updated: 2022-04-18

Checks: 7 0

Knit directory: myTidyTuesday/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20210907) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version b37126f. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    catboost_info/
    Ignored:    data/.Rhistory
    Ignored:    data/CNHI_Excel_Chart.xlsx
    Ignored:    data/Chicago.rds
    Ignored:    data/CommunityTreemap.jpeg
    Ignored:    data/Community_Roles.jpeg
    Ignored:    data/SeriesReport-20220414171148_6c3b18.xlsx
    Ignored:    data/Weekly_Chicago_IL_Regular_Reformulated_Retail_Gasoline_Prices.csv
    Ignored:    data/YammerDigitalDataScienceMembership.xlsx
    Ignored:    data/YammerMemberPage.rds
    Ignored:    data/YammerMembers.rds
    Ignored:    data/acs_poverty.rds
    Ignored:    data/austinHomeValue.rds
    Ignored:    data/austinHomeValue2.rds
    Ignored:    data/df.rds
    Ignored:    data/fmhpi.rds
    Ignored:    data/grainstocks.rds
    Ignored:    data/hike_data.rds
    Ignored:    data/nber_rs.rmd
    Ignored:    data/netflixTitles2.rds
    Ignored:    data/raw_weather.RData
    Ignored:    data/us_states.rds
    Ignored:    data/us_states_hexgrid.geojson
    Ignored:    data/weatherstats_toronto_daily.csv

Untracked files:
    Untracked:  analysis/2022_03_25_TimeSeriesShowcase.Rmd
    Untracked:  code/YammerReach.R
    Untracked:  code/chicago.R
    Untracked:  code/googleCompute.R
    Untracked:  code/work list batch targets.R
    Untracked:  environment.yml

Unstaged changes:
    Deleted:    analysis/2022_02_11_tabular_playground.Rmd
    Deleted:    analysis/2022_04_18.qmd
    Modified:   code/_common.R

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html ad69435 opus1993 2022-03-16 Build site.
html 0482608 opus1993 2022-02-23 Build site.
html 3eaf158 opus1993 2022-01-30 Build site.
html 0c747e4 opus1993 2022-01-21 Build site.
html d34f65a opus1993 2022-01-21 Build site.
html bea94a9 opus1993 2021-12-26 Build site.
html aa65a6b opus1993 2021-12-26 Build site.
Rmd 77899ce opus1993 2021-12-26 workflowr::wflow_publish("analysis/index.Rmd")
html 485e867 opus1993 2021-10-13 Build site.
html 2f3df0c opus1993 2021-10-12 Build site.
html af49f93 opus1993 2021-10-11 Build site.
html 247b166 opus1993 2021-10-11 Build site.
html f1512b0 opus1993 2021-10-11 Build site.
html 136ec1e opus1993 2021-10-11 Build site.
html bb5ce05 opus1993 2021-10-10 Build site.
html 08f0537 opus1993 2021-10-07 Build site.
html c7b8f57 opus1993 2021-10-07 Build site.
html f0ffa32 opus1993 2021-10-05 Build site.
html ee45e18 opus1993 2021-10-03 Build site.
html e98eb4d opus1993 2021-10-03 Build site.
html eb3845f opus1993 2021-09-29 Build site.
html ab8fce2 opus1993 2021-09-29 Build site.
html 2c36a6b opus1993 2021-09-29 Build site.
html b0574f9 opus1993 2021-09-24 Build site.
html 9c9fdd6 opus1993 2021-09-24 Build site.
html f0fc268 opus1993 2021-09-24 Build site.
html 5e082c4 opus1993 2021-09-24 Build site.
html 0ecadb5 opus1993 2021-09-24 Build site.
html e5aa5e8 opus1993 2021-09-24 Build site.
html 3f10250 opus1993 2021-09-24 Build site.
html f9b2ded opus1993 2021-09-24 Build site.
html d76b4a3 opus1993 2021-09-22 Build site.
html 5601352 opus1993 2021-09-21 Build site.
html 8bb65fc opus1993 2021-09-21 Build site.
html 49f517e opus1993 2021-09-21 Build site.
html 73513af opus1993 2021-09-21 Build site.
html 4f22206 opus1993 2021-09-17 Build site.
html c5f914b opus1993 2021-09-15 Build site.
html 913adef opus1993 2021-09-15 Build site.
html 4217d68 opus1993 2021-09-14 Build site.
html d1ba72e opus1993 2021-09-14 Build site.
html 8b8b885 opus1993 2021-09-13 Build site.
html 13c0644 opus1993 2021-09-13 Build site.
html 007f564 opus1993 2021-09-11 Build site.
html e669f86 opus1993 2021-09-09 Build site.
html 18fc4aa opus1993 2021-09-09 Build site.
html 744582e opus1993 2021-09-09 Build site.
html c9d8d5e opus1993 2021-09-09 Build site.
html 7d4eb3f opus1993 2021-09-08 Build site.
html 6a78362 opus1993 2021-09-08 Build site.
html 4ff694a opus1993 2021-09-08 Build site.
html 04bdaa7 opus1993 2021-09-08 Build site.
html 1be6dc2 opus1993 2021-09-08 Build site.
html aaf3aaa opus1993 2021-09-08 Build site.
Rmd 480a38d opus1993 2021-09-08 fix hyperlink to sort properly
html e9216f1 opus1993 2021-09-08 Build site.
html 1e65696 opus1993 2021-09-08 Build site.
Rmd 6948c3b opus1993 2021-09-08 sort packages and set column widths
html e7f2b76 opus1993 2021-09-08 Build site.
html b8fc516 opus1993 2021-09-08 Build site.
html 1476352 opus1993 2021-09-07 Build site.
Rmd b3a9f94 opus1993 2021-09-07 wflow_publish("analysis/index.Rmd")
Rmd f1bb186 opus1993 2021-09-07 Start workflowr project.

Welcome to my TidyTuesday website collection. Most of the activity here is related to the rfordatascience #TidyTuesday weekly social data project. The exercises here are certainly not finished products. They demonstrate what could be accomplished in an hour or two after-hours from datasets that can be found out in the “wild.” In many cases, I’ve used these to explore packages with new features and functions and to facilitate conversations with others in the community via Twitter and Slack.

articlesTable <- articles %>%
  mutate(title = map_chr(file, ~ title_f(.))) %>%
  mutate(dateline = map_chr(file, ~ date_f(.))) %>%
  mutate(libraries = map(file, ~ library_f(.))) %>%
  tidyr::unnest_longer(col = libraries) %>%
  mutate(title = str_sub(title,
    start = 9L,
    end = str_length(title) - 1L
  )) %>%
  mutate(dateline = str_sub(dateline,
    start = 8L,
    end = str_length(dateline) - 1L
  )) %>%
  mutate(libraries = str_squish(str_sub(libraries,
    start = str_locate(libraries, "\\(")[, 1] + 1,
    end = str_locate(libraries, "\\)")[, 1] - 1
  ))) %>%
  filter(!libraries %in% c("tidyverse", "tidytuesdayR", "lubridate", "here", "hrbrthemes", "tweetrmd", "grumanlib")) %>%
  arrange(
    desc(lubridate::mdy(dateline)),
    libraries
  ) %>%
  tidyr::nest(package = libraries) %>%
  mutate(link = stringr::str_remove(file, ".Rmd")) %>%
  mutate(link = paste0("https://opus1993.github.io/myTidyTuesday/", link, ".html"))

articlesTable %>%
  mutate(title = text_spec(title,
    format = "html",
    link = link
  )) %>%
  select(-file, -link) %>%
  knitr::kable("html",
    escape = FALSE,
    col.names = c("Title", "Date", "Packages")
  ) %>%
  kable_styling(
    bootstrap_options = c("hover", "condensed"),
    full_width = TRUE,
    fixed_thead = TRUE
  ) %>%
  column_spec(1:3, width = c("10em", "10em", "60em"))
Title Date Packages
Supreme Court Pictogram April 18, 2022 ggimage, ggiraph, rvest
Time Series Showcase March 25, 2022 flexdashboard, modeltime , tidymodels , timetk
R Package Vignette Counts March 14, 2022 poissonreg, tidymodels, treemapify
Plotting NHL Stats February 23, 2022 cowplot, hockeyR, sportyR
Board Games January 28, 2022 finetune , SHAPforxgboost, textrecipes , tidymodels , tidytext , vip
Chocolate bar ratings January 17, 2022 poissonreg , textrecipes, tidymodels , tidytext
GeomTextPath December 26, 2021 geomtextpath , palmerpenguins
Survival Analysis October 12, 2021 broom , splines , survival , survminer
National Bureau of Economic Research working papers September 30, 2021 extrafont , finetune , ggraph , igraph , patchwork , textrecipes, themis , tidygraph , tidylo , tidymodels , tidytext , treemapify
Billboard Top 100 September 15, 2021 ggtext , tidymodels
FreddieMac House Prices September 13, 2021 geofacet , gganimate
Sliced Season 1 Finale: SBA Loan Defaults August 17, 2021 bestNormalize, catboost , discrim , embed , finetune , ggforce , ggthemes , probably , themis , tidymodels , treemapify , treesnip
Sliced Austin Home Value Classification August 10, 2021 baguette , finetune , patchwork , textrecipes, themis , tidylo , tidymodels , tidytext , vip
Sliced Pet Shelter Adoptions August 3, 2021 baguette , DALEXtra , finetune , textrecipes, themis , tidylo , tidymodels , tidytext , vip
Sliced Baseball Home Runs July 27, 2021 baguette , DALEXtra , finetune , themis , tidymodels, vip
Sliced Spotify Track Popularity July 20, 2021 baguette , corrr , DALEXtra , finetune , SHAPforxgboost, textrecipes , themis , tidymodels , vip
Sliced Bank Account Churn July 13, 2021 baguette , catboost , finetune , themis , tidymodels, treesnip
Sliced NYC Airbnb June 29, 2021 baguette , catboost , finetune , rlang , stacks , textrecipes, themis , tidymodels , tidytext , treesnip
Sliced Australia Weather June 22, 2021 finetune , patchwork , stacks , textrecipes, themis , tidycensus , tidymodels , treesnip
US Broadband Access May 5, 2021 patchwork , sf , tidycensus
Netflix Titles NLP April 20, 2021 discrim , finetune , stacks , textrecipes , themis , tidymodels , tidyposterior, tidytext , workflowsets
US Post Offices April 13, 2021 finetune , gganimate , ggthemes , historydata, textrecipes, themis , tidymodels
UN Votes March 24, 2021 countrycode, embed , extrafont , tidymodels
Video Games and Sliced March 16, 2021 systemfonts, tidymodels
Animating a geographic introduction March 7, 2021 gganimate, ggtext , glue
SuperBowl Commercials March 2, 2021 tidymodels
Kenya Census January 19, 2021 cartogram , rKenyaCensus, sf , spdep , systemfonts , waffle
Tate Art Collection January 12, 2021 countrycode, textrecipes, tidymodels , tidytext , treemapify , vip
USDA NASS Stocks to Use January 7, 2021 ggrepel, Quandl , rnassqs
Chicago Traffic Injuries January 5, 2021 baguette , RSocrata , themis , tidymodels
Toronto Homeless Shelters December 1, 2020 tidymodels, treemap
Washington State Trails November 27, 2020 fontawesome, ggridges , gt , htmltools , rvest
US Poverty November 11, 2020 cartogram , sf , tidycensus, tigris , tmap
Historical Phone Usage November 10, 2020 ggrepel, ggtext , naniar , scales , visdat , WDI
Canadian Wind Turbines October 27, 2020 cowplot , ggtext , kableExtra , naniar , osmdata , rnaturalearth, sf , stringr , visdat
Beer Awards October 20, 2020 broom , cowplot , geofacet , ggwordcloud, kableExtra , purrr , tidylo , tidytext
Datasaurus October 14, 2020 broom , gridExtra , purrr , tidymodels
Corn Production October 9, 2020 blscrapeR, httr , readxl , rnassqs
NCAA Womens Tournament October 7, 2020 splines , tidymodels
Hops September 24, 2020 blscrapeR, paletteer, rnassqs
Kids Spending September 22, 2020 broom , geojsonio, ggtext , rgeos , showtext
Himalayan Climbers September 22, 2020 ebbr , gt , themis , tidymodels
Friends September 8, 2020 ggbump , ggdist , glue , ragg , showtext, tidylo , tidytext
The Last Airbender August 11, 2020 scales , showtext , textfeatures, textrecipes , themis , tidylo , tidymodels , tidytext , tvthemes , vip
Astronaut Missions July 15, 2020 baguette , tidymodels
Coffee July 7, 2020 ggraph , ggridges, igraph , tidytext, widyr
Animal Crossing Sentiment Analysis May 5, 2020 stm , textrecipes, tidymodels , tidyr , tidytext , vip
GDPR Fines April 21, 2020 ggbeeswarm , ggtext , rnaturalearth, rvest , sf , tidymodels
Tour De France April 7, 2020 broom , ggtext , paletteer, patchwork, rvest , survival
Beer Production March 31, 2020 GGally , gganimate , gghighlight , maps , sf , shinymetrics, tidymetrics , tidymodels , transformr
Brain Injury March 24, 2020 gganimate , gifski , tidymodels, vip
The Office for Tidy Tuesday March 17, 2020 tidymodels, tidytext , vip
College Tuition and Diversity March 10, 2020 tidymodels
NFL attendance February 4, 2020 tidymodels
Student Debt November 26, 2019 cowplot , dygraphs , forcats , gghighlight, ggiraph , ggrepel , stats , stringr , viridis

I have made notes of my sources for code and content. Please be sure to reach out, acknowledge, and cite their contributions directly.


sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] stringr_1.4.0    kableExtra_1.3.4 knitr_1.38       dplyr_1.0.8     
[5] purrr_0.3.4      workflowr_1.7.0 

loaded via a namespace (and not attached):
 [1] styler_1.7.0      tidyselect_1.1.2  xfun_0.30         bslib_0.3.1      
 [5] colorspace_2.0-3  vctrs_0.4.0       generics_0.1.2    viridisLite_0.4.0
 [9] htmltools_0.5.2   yaml_2.3.5        utf8_1.2.2        rlang_1.0.2      
[13] R.oo_1.24.0       jquerylib_0.1.4   later_1.3.0       pillar_1.7.0     
[17] R.utils_2.11.0    glue_1.6.2        DBI_1.1.2         R.cache_0.15.0   
[21] lifecycle_1.0.1   munsell_0.5.0     R.methodsS3_1.8.1 rvest_1.0.2      
[25] evaluate_0.15     callr_3.7.0       fastmap_1.1.0     httpuv_1.6.5     
[29] ps_1.6.0          fansi_1.0.3       Rcpp_1.0.8.3      promises_1.2.0.1 
[33] scales_1.2.0      webshot_0.5.3     jsonlite_1.8.0    systemfonts_1.0.4
[37] fs_1.5.2          digest_0.6.29     stringi_1.7.6     processx_3.5.3   
[41] getPass_0.2-2     rprojroot_2.0.3   cli_3.2.0         tools_4.1.2      
[45] magrittr_2.0.3    sass_0.4.1        tibble_3.1.6      tidyr_1.2.0      
[49] crayon_1.5.1      whisker_0.4       pkgconfig_2.0.3   ellipsis_0.3.2   
[53] xml2_1.3.3        lubridate_1.8.0   assertthat_0.2.1  rmarkdown_2.13   
[57] svglite_2.1.0     httr_1.4.2        rstudioapi_0.13   R6_2.5.1         
[61] git2r_0.30.1      compiler_4.1.2