Introduction

This is a test of the Leaflet package to show maps on the web.

Data Source

The latitude and longitude were taken from Google Maps

library(leaflet)

Philadelphia, PA

map <- 
  leaflet() %>% 
  addTiles() %>% 
  setView(lng = -75.1624776, lat = 39.9562897, zoom = 13) %>%
  addMarkers(lat= 39.9562897, lng= -75.1624776, popup = "Philadelphia, PA")
map

Inspire by RPubs publication, "Developing Data Products: Week 2 Project, by Sakshi Jain.