Tidy Tuesday 07-20-21
Geoffrey House
7/24/2021
Lessons learned in working with this dataset:
With the current drought, more of the country is designated as under D4 (exceptional) than any time since the drought of 2012,
which was in turn the most widespread drought since 1956
There are very similar trends with the percentage of the population being affected by drought
Lessons learned in working with this dataset:
Using
lead
(and
lag
in
dplyr
) to calculate values in the current row using values either in subsequent (or previous) rows. Works in combination with
mutate
,
case_when
and
%in%
How to embed html links in knit Rmd files
With the current drought, more of the country is designated as under D4 (exceptional) than any time since the drought of 2012,
which was in turn the most widespread drought since 1956
There are very similar trends with the percentage of the population being affected by drought