Description Usage Arguments Value Note Examples
The Earthquakes will be plot using its longitude and latitude information. The user can select a column in order to obtain information about the earthquake.
1 |
data |
Clean earthquake data. |
name_col |
Name of a column which will be use to show information about the earthquake. |
This function returns an interactive map.
If an invalid column name is provided, the function provides a warning and uses the LOCATION_NAME column as teh annotation column.
1 2 3 4 5 6 7 | ## Not run:
file<-system.file("extdata","earthquakes_data.txt.zip",package="Capstone")
eq_location_clean(eq_clean_data(eq_read_data(file))) %>%
dplyr::filter(COUNTRY == "VENEZUELA" & lubridate::year(DATE) >= 1980) %>%
eq_map(name_col = "DATE")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.