Things I’ve learned lately, working with spatial data in R

geospatial data
learning
Author

Kim Cressman

Published

July 11, 2025

When I set up this blog, I really thought I was going to make a habit of making small posts about the things I was learning and doing. Turns out I really like explaining how I learned things, partly because reading other people’s full learning journeys has helped me so much and I want to pay it forward; and I haven’t really had the time to dig in on posts like that.

So this post will be a “quick” roundup of some things I’ve learned as I’ve hunted down as much geospatial data as possible in order to characterize the Mississippi Sound Watershed (how many people live in it? how many miles of rivers and streams are there? how many acres of wetlands? what’s the land use/land cover? etc. etc. etc.).

The two sources (free online!) I keep going back to over and over again are:

Okay, in no particular order, here are some things I know now that I didn’t know 3 months ago.

See why I don’t make more posts??? This was me trying to make a short one.

Oh, one more thing - I used to think you had to use {ggmap} if you wanted to make maps with {ggplot2}, and I resisted because I didn’t want to sign up for a token or whatever is required - but you don’t have to. {ggplot2} works great with geom_sf(); and if you’ve got raster data, use {tidyterra} to get geom_spatraster(). Once I learned this I stopped stressing so much about the maps I was trying to make. Though of course {tmap}, {mapview}, and {leaflet} are all also awesome, so it just depends on your needs and preferred workflow.

The end …. for now.