Description Usage Arguments Value Examples
eq_map
Will use a map to plot the location of the epicentre of an
earthquake. The plot will be done using a circle, with the radius of the
circle indicative of the magnitude of the earthquake.
1 |
df |
The data frame holding the longitude and latitudes for the epicentres of the earthquakes. |
annot_col |
An atomic character holding the field name of the column to display on the map. |
Return a leaflet map
1 | eq_map(eq_china_cleandata, "DATE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.