-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
These are 2 suggestions for improving the three (really good) blog posts recently published regarding plotting spatial data with ggplot2 and sf.
I wasn't sure where to leave these, as I do not know how to reach the authors.
- I personally use facetting in ggplot quite often, way more often than I use
cowplotorpatchworkto arrange plots manually. Of course facets work well withsfdata, they look clean and you do not have to bang your head around to find the proper size ratios. The downside is that they are, of course, much less flexible. E.g. you cannot plot two different physical dimensions next to one another, but you can plot the same thing from different datasets. - I find grabbing spatial data from
rnaturalearth,rnaturalearthhiresandrnaturalearthdatais much more convenient than usingmapsorrworldmap. These packages interface to http://www.naturalearthdata.com/, optionally providingsfobjects as output. One neat and useful thing is that if you grab, for example, both country boundaries and municipalities, they match exactly, avoiding small and ugly differences which come from using datasets from different sources.
Metadata
Metadata
Assignees
Labels
No labels