Description Usage Arguments Value Examples
Mapping the earthquake epicenters The function maps the epicenters (LATITUDE/LONGITUDE) and annotates each point with in pop up window containing annotation data stored in a column of the data frame. The user should be able to choose which column is used for the annotation in the pop-up with a function argument named annot_col.
1 | eq_map(df_clean, annot_col)
|
df_clean, |
data containing the filtered data frame with earthquakes |
annot_col |
column that should be used for the annotation in the pop-up |
This function returns a leaflet map with earthquake epicentres and annotations within pop-up window
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.