Description Usage Arguments Details Value Examples
The 'eq_map' function maps the earthquakes on a geograpical map.
1 |
data |
- A file name |
annot_col |
- The parameter that is annotated in a pop-up. |
The 'eq_map' function maps the earthquakes (as circles) on a geograpical map, given the longitude and latitude of the earthquake events. The magnitude of the earthquakes is shown by the radius of the circles. When hovering over an earthquake events a pop-up shows some information about the earthquake.
A geographical map with earthquakes (circles) of which the size indicates the magnitude of the earthquakes.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(magrittr)
x <- readr::read_delim("data/earthquakes.tsv.gz", delim = "\t") %>%
eq_clean_data() %>%
dplyr::filter(COUNTRY == "Mexico",
DATE >= "2000-01-01") %>%
eq_map(annot_col = "DATE")
x
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.