
Learn to build interactive web maps with R Shiny and Leaflet, visualizing earthquake magnitudes around Fiji with markers and heat maps, and exploring population maps with multiple base maps.
Install R and RStudio, then install shiny, shiny dashboard, leaflet with extras, and rgdal for shapefiles; build a ui and server and run in a browser.
Create your first map with Leaflet in a Shiny dashboard, render it with Open Street Map tiles, and use CSS to make the map fill the screen.
Create a sidebar menu with a maps item and a globe icon, add a sub item for earthquake data, and display a leaflet map with Open Street Map tiles.
Add markers to a map in R Shiny and Leaflet by plotting GPS coordinates with a group named Marcus and enabling popups and labels to show earthquake magnitudes.
Add circle markers to a Shiny Leaflet map using a blue color palette scaled by earthquake magnitude, with circle radius, opacity, popups showing magnitude, and a points group for toggling.
Add a legend to the map using addLegend, position bottom right, with a light-to-dark blue palette, showing earthquake magnitude values for circle markers grouped as points.
Add layers control to a Shiny Leaflet map to switch between base maps and overlays, demonstrating markers and circle markers with collapsed controls for a clean, informative map.
Add a second map tab to the Shiny leaflet app, render a new map with the quakes data using a CartoDB dark matter tile, and switch between maps.
Learn to add circle markers to a Shiny leaflet map, define an orange to red color palette based on earthquake magnitude, with 70% opacity, popups, and labeling for interactive data.
Add a legend to the map in shiny and leaflet, positioned bottom right with a light orange to red palette, showing earthquake magnitude values and popups.
Add a second base map with provided tiles and switch between maps based on zoom, using first map max zoom 7 and second min 7, max 14.
Learn to add a third map to a Shiny leaflet dashboard by creating a new menu item labeled earthquake heat map and wiring a leaflet output with world imagery.
Define a color palette with colorNumeric, map earthquake magnitude to heat map intensity, and add the heat map to the Leaflet with longitude, latitude, blur, max value, and radius.
Guide learners to build the final map in a shiny leaflet app by loading a shapefile, creating a world population choropleth, and adding a fourth menu item.
Download data from the internet, unzip it, read a world shapefile into a spatial data frame, and transform pop 2005 to numeric by dividing by a million for the map.
Prepare data for styling in R Shiny and Leaflet by building yellow, orange, and brown color palette, defining a population domain, and creating a custom label with country and population.
Create and style a choropleth map in R Shiny with Leaflet, adding base map tiles, polygons, a palette-driven color scale, and interactive highlight effects for country-level data.
Add a legend to your world population map in R Shiny and Leaflet, linking population values in millions to a color palette and positioning the legend at the bottom right.
Welcome to the Introduction to Maps in R Shiny and Leaflet course. In this course we will be
creating a fully functional web gis application using the R programming language. This application
will be comprised of different types of maps ranging from point maps to heatmaps, to choropleth maps.
We will also be using different datasets ranging from dataframes to spatial dataframes, which we
will use to transform and visualize our data on different types of maps, depending on the use case.
Once we have completed the course we will be equipped with extremely valuable skills, that we can
use to build sophisticated web map applications of any kind and tell spatial data stories that almost anyone
can interpret and understand.
Some of the skills you will acquire from taking this course range from:
Working with spatial data in the R programming language
Installing and using R studio
Using the leaflet web mapping library
Creating a variety of maps and integrating it into a single application
Building a dashboard in R Shiny
Creating map legends and colour palettes
Styling maps using embedded html functions
Working with dataframes
Using R terminal operations