Function creates a label column ("popup_text") in a data frame that has been cleaned with eq_clean_data. The column contains html formatted text for use as a label with the eq_map function. The label contains location, maginitude and deaths of each earthquake in the data frame. If any earthquake is missing one of those things, the label omits that line.
Data frame of earthquake data that has been processed with eq_clean_data.
List of character objects that can be used to create labels in eq_map.
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.