Let’s look at some data on levels of nitrate in water from Washington. This dataset reports the amount of people in Washington exposed to excess levels of nitrate in their water between 1999 and 2020.
wide_nitrate <-
read_csv(file = "https://daseh.org/data/Nitrate_Exposure_for_WA_Public_Water_Systems_byquarter_data.csv")
head(wide_nitrate)
# A tibble: 6 × 11
year quarter pop_on_sampled_PWS `pop_0-3ug/L` `pop_>3-5ug/L` `pop_>5-10ug/L`
<dbl> <chr> <dbl> <dbl> <dbl> <dbl>
1 1999 Q1 106720 67775 0 32
2 1999 Q2 85541 55476 0 212
3 1999 Q3 559137 319252 231186 212
4 1999 Q4 26995 25969 420 0
5 2000 Q1 34793 5904 0 92
6 2000 Q2 184521 157396 0 32
# ℹ 5 more variables: `pop_>10-20ug/L` <dbl>, `pop_>20ug/L` <dbl>,
# `pop_on_PWS_with_non-detect` <dbl>, pop_exposed_to_exceedances <dbl>,
# perc_pop_exposed_to_exceedances <dbl>