Description Usage Arguments Value Examples
We take a subset of our earthquake data and plot this on a map using leaflet. See the leaflet docs (?leaflet) for a few relevant examples. The input dataframe requires columns including LONGITUDE, LATITUDE, EQ_PRIMARY. The annotation column ('annot_col') is also a required argument (no defaults).
1 |
annot_col |
|
earthquake_data |
The dataframe of data that we wish to plot |
Returns an interactive leaflet map that you can print to the viewer.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.