eq_map: Routine for spatial analysis of earthquake data (earth...

Description Usage Note Examples

Description

This function provides a spatial interpretation of earthquake data with a popup based on datevalue.

This function provides a spatial interpretation of earthquake data with a popup based on datevalue. This renders the earthquake data as an interactive map.

Usage

1
2
3
eq_map(data, annot_col = NULL)

eq_map(data, annot_col = NULL)

Note

For BC date ranges, use a one sided inequality e.g. datevalue < '0000-01-01'

For BC date ranges, use a one sided inequality e.g. datevalue < '0000-01-01'

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Not run: 

# User inputs a country and range of date to be explored.
# The earth map will plot the points as a leaflet with a pop up based on the date of the event. 
# For BC date ranges, use a one sided inequality e.g. datevalue < '0000-01-01'

library(leaflet)
library(dplyr)

any_name_df%>%filter(COUNTRY=="GREECE")%>%filter(datevalue > '1900-01-01', datevalue < '1950-01-01') %>% eq_map(annot_col = "datevalue")


## End(Not run) 


## Not run: 

# User inputs a country and range of date to be explored.
# The earth map will plot the points as a leaflet with a pop up based on the date of the event. 
# For BC date ranges, use a one sided inequality e.g. datevalue < '0000-01-01'

library(leaflet)
library(dplyr)

any_name_df%>%filter(COUNTRY=="GREECE")%>%filter(datevalue > '1900-01-01', datevalue < '1950-01-01') %>% eq_map(annot_col = "datevalue")


## End(Not run) 

cowboy2718/QuakeExplorer documentation built on May 26, 2019, 4:41 p.m.