Description Usage Arguments Value Examples
eq_map maps the epicenters (LATITUDE/LONGITUDE) with a radius proportional to the earthquake's magnitude (EQ_PRIMARY) "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." (Mastering Software Development in R Capstone, Week 3)
1 |
eq_df |
a cleaned earthquake data frame to map |
annot_col |
the string name of a column to use for annotation of the earthquake locations in eq_df (optional) |
a leaflet map object
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.