Description Usage Arguments Value Author(s) References See Also Examples
This function gathers earthquake data from the International Federation of Digital Seismograph Networks.
The available subsetting parameters can be viewed by calling FDSNParameterList
.
1 | FDSNGetEvents(base.url, parameters,verbose = TRUE)
|
base.url |
The address of a FDSN server. |
parameters |
Selection parameters to subset results, see |
verbose |
If |
event |
A structure with event location and magnitude information |
Daniel C. Bowman daniel.bowman@unc.edu
http://www.fdsn.org/webservices/
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 29 | ## Not run:
#Get all earthquakes within 2 degrees of Socorro, new Mexico,
#between 2010 and 2013
#IRIS event server
base.url <- "http://service.iris.edu/fdsnws/event/1/"
#Selection criteria
parameters <- list(
name = c(
"latitude",
"longitude",
"maxradius",
"start",
"end"),
value = c(
34.068110, #Latitude
-106.901847, #Longitude
2, #Degrees from center point
"2010-01-01", #Start time
"2014-01-01") #End time
)
events <- FDSNGetEvents(base.url, parameters)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.