Pat shows how to add maps to his ggplot2 generated heatmap in R to better display the country boundaries across the world. Along the way he'll stylize the figure and work through some problems with pushing his changes to GitHub. The overall goal of this project is to highlight reproducible research practices using a number of tools. The specific output from this project will be a map-based visual that shows the level of drought across the globe. The website we generate in this episode can be found at https://www.riffomonas.org/drought_index.
You can find my blog post for this episode at https://www.riffomonas.org/code_club/....
#case_when #R #github-actions #snakemake #Rstats #github
Support Riffomonas by becoming a Patreon member!
/ riffomonas
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
3:17 Creating world map with country outlines
8:19 Removing Antarctica and modifying lines
10:01 Putting world map under heatmap
12:42 Improving appearance of figure
13:37 Resolving merge conflict on push
17:19 Final figure