---
title: "Quakes"
output: flexdashboard::flex_dashboard
runtime: shiny
---
```{r setup, include=FALSE}
library(flexdashboard)
library(leaflet)
data(quakes)
```
Load Data
=====================================
### Location Map
```{r}
p("Following are quake locations.")
renderLeaflet({
leaflet(data = quakes[1:20,]) %>% addTiles() %>%
addMarkers(~long, ~lat, popup = ~as.character(mag))
})
```