This is my first webpage made with R Markdown.

Below, I’ve included an interactive map created with the Leaflet package in R.

# Load leaflet
library(leaflet)

My Map

Here are a few cool places marked on the map: New York City San Francisco Chicago

leaflet() %>%
  addProviderTiles(providers$CartoDB.Positron) %>%  
  addMarkers(lng = -74.0060, lat = 40.7128, popup = "New York City 🗽") %>%
  addMarkers(lng = -122.4194, lat = 37.7749, popup = "San Francisco 🌉") %>%
  addMarkers(lng = -87.6298, lat = 41.8781, popup = "Chicago 🌆")