Description Usage Arguments Value Examples
This is my capstone project during the course "Mastering Software Development in R Capstone" by Roger D. Peng and Brooke Anderson, Johns Hopkins University as a part of "Mastering Software Development in R Professional Certificate" program on Coursera. —————————————————————————– WEEK 3 - Interactive map —————————————————————————– Interactive map with a pop-up date This function creates an interactive map to show the geographical locations of the earthquakes in data. The size of each circle represents the magnitude of the corresponding earthquake. When you click on a circle, you can see the the chosen annotation (e.g. date) of this earthquake as a popup message.
1 |
data |
data.frame |
annot_col |
character |
leaflet
1 2 3 4 | ## Not run:
data <- eq_location_clean(eq_clean_data(data))
eq_map(data, "Date")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.