Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Creating Maps with R

Creating Maps with R

2h 32mIntermediate2022-09-23

Authors

Charlie Joey Hadley

Charlie Joey Hadley

Technology and open data evangelist

Course details

If you need to learn more about creating maps with R, this beginner-friendly course introduces an end-to-end mapping workflow and shows you how to import your data directly from Excel to create both static and interactive maps. Instructor Charlie Joey Hadley explains mapping fundamentals, like geo markers, scatter plots, hexbin maps, cartograms, and more. Charlie walks you through processing GIS data from Excel and working with GIS data formats such as raster, vector, sf, and sp. She demonstrates how to create, label, and transform static maps with ggplot2, then dives into building interactive, mobile-ready maps using Leaflet, an HTML widget package for creating interactive maps with R. Plus, Charlie covers base maps and tiles, projections, the Coordinate Reference System (CRS), and more.

Skills covered

ggplotGISRStatisticsAECProgramming LanguagesData ScienceOpen SourceSoftware DevelopmentDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Why create maps with R
  • 02 - Base knowledge
  • 03 - GitHub repository and exercise files

1. Mapping Fundamentals

  • 04 - How to choose a map
  • 05 - Geo marker and scatter plots
  • 06 - Geo bubble charts
  • 07 - Choropleth - Shaded area maps
  • 08 - Hexbin maps or hexagonally binned choropleth
  • 09 - Dot density
  • 10 - Cartograms - Distorted area maps

2. Processing GIS Data from Excel

  • 11 - Standardize country names with countrycode
  • 12 - Join shapefiles with data in Excel files
  • 13 - Convert addresses to coordinates with geocoding
  • 14 - Challenge - Geolocate all US state capitol buildings
  • 15 - Solution - Geolocate all US state capitol buildings

3. Working with GIS Data Formats

  • 16 - GIS data formats - Raster or vector
  • 17 - Vector GIS data - sf and sp
  • 18 - Work with sf datasets and the tidyverse
  • 19 - Challenge - Visualizing continent populations
  • 20 - Solution - Visualizing continent populations

4. Static Maps with ggplot2

  • 21 - Use geom sf to visualize geo locations
  • 22 - ggplot2 choropleth and continuous data
  • 23 - ggplot2 choropleth and discrete data
  • 24 - Label maps with ggrepel package
  • 25 - Zoom into regions with coords sf()
  • 26 - Transform CRS with coord sf()
  • 27 - Challenge - Label a geobubble chart of Germany's biggest cities
  • 28 - Solution - Label a geobubble chart of Germany's biggest cities
  • 29 - Challenge - Visualize state coastline length with choropleth
  • 30 - Solution - Visualize state coastline length with choropleth

5. Interactive Maps with Leaflet

  • 31 - The basics of using Leaflet
  • 32 - Use Leaflet to visualize geo locations
  • 33 - Add labels and pop-ups to Leaflet maps
  • 34 - Leaflet choropleth and continuous data
  • 35 - Leaflet choropleth and discontinuous data
  • 36 - Set a background color with leaflet.extras
  • 37 - Challenge - Add pop-up labels to a map of German cities
  • 38 - Solution - Add pop-up labels to a map of German cities
  • 39 - Challenge - Interactive choropleth of state coastline length
  • 40 - Solution - Interactive choropleth of state coastline length

6. CRS, Projections, and Map Tiles

  • 41 - Base maps and tiles
  • 42 - What are projections and CRS
  • 43 - Geographics vs. projected CRS
  • 44 - How to choose CRS and use them with sf

Conclusion

  • 45 - What else can you learn about creating maps in R

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal