From the course: Creating Maps with R
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Transform CRS with coord_sf()
From the course: Creating Maps with R
Transform CRS with coord_sf()
- [Instructor] Sometimes when you create a map duty plot two your immediate reaction will be some level of confusion. The frequency of his confusion is directly correlated with how often you're visualizing countries or other data sets that span the international dateline or 180 degree meridian line. To fix these issues and make meaningful Gigi product two maps you'll need to use a different coordinate preference system. To demonstrate this, let's look at the New Zealand R script in the 0406B project. I'll load our packages and our data sets by running lines one through 16 and line 18 through 24, we're going to build a geo bubble chart of the largest cities in New Zealand. And we can see, this is very confusing to read. We have some in New Zealand at far right hand side of our visualization and some of it on the far left. What we need is a CRS designed for this data set. And specifically we want this CRS designed by the…
Contents
-
-
-
-
-
-
Use geom_sf to visualize geo locations5m 53s
-
(Locked)
ggplot2 choropleth and continuous data6m 46s
-
(Locked)
ggplot2 choropleth and discrete data6m 14s
-
(Locked)
Label maps with ggrepel package5m 14s
-
(Locked)
Zoom into regions with coords_sf()3m 37s
-
(Locked)
Transform CRS with coord_sf()2m 25s
-
(Locked)
Challenge: Label a geobubble chart of Germany's biggest cities32s
-
(Locked)
Solution: Label a geobubble chart of Germany's biggest cities4m 45s
-
(Locked)
Challenge: Visualize state coastline length with choropleth33s
-
(Locked)
Solution: Visualize state coastline length with choropleth4m 11s
-
-
-
-