Using factors in R to create a new calendar and see how much snow do we get in Michigan (CC238)

Using factors in R to create a new calendar and see how much snow do we get in Michigan (CC238)

1.470 Lượt nghe
Using factors in R to create a new calendar and see how much snow do we get in Michigan (CC238)
Did there seem to be more or less snow than normal last year in Michigan? How about where you live? In this Code Club, Pat shows you how you can use tools from the tidyverse like dplyr's group_by and summarize and joins and ggplot2's geom_line, theme, and scale functions to answer these and other important questions. He does all this using local weather data downloaded from NOAA in RStudio with a lot of help from the tidyverse You can find my blog post for this episode at https://www.riffomonas.org/code_club/2022-08-11-snow. #ggplot2 #dplyr #R #Rstudio #Rstats Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights. If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/ You can also find complete tutorials for learning R with the tidyverse using... Microbial ecology data: https://www.riffomonas.org/minimalR/ General data: https://www.riffomonas.org/generalR/ 0:00 Introduction 2:04 Creating a "snow year" calendar 5:53 Plotting cumulative snowfall by year 7:53 Plotting snowfall by year and month 12:29 Adding months with no snowfall 17:26 Highlighting current snow year 19:50 Improving appearance of axes 24:23 Adding informative title with html & ggtext