fhdsl / DaSEH

🌼 Collection of materials to accompany the R25 funded "Data Science for Environmental Health" short course
https://daseh.org
MIT License
0 stars 1 forks source link

little module about mapping during the codeathon! #147

Open avahoffman opened 1 month ago

avahoffman commented 1 month ago

perhaps cut short code review (merge with ethics)?

avahoffman commented 1 week ago

https://jtr13.github.io/cc19/different-ways-of-plotting-u-s-map-in-r.html

usmap is really nice. Something like this could be really great.

wa_dat <- countypop %>% filter(abbr == "WA")
plot_usmap(data = wa_dat,
           values = "pop_2022",
           include = c("WA")) +
  scale_fill_continuous() +
  theme(legend.position = "right")
image