parse.pde | R Documentation |
Parse and Extact information from a screen dump of PDE (preliminary earthquake estimates) from the internet,
parse.pde(card)
card |
character, one line from the PDE file |
Parsing is done by column specification. Uses screen dump format. see http://neic.usgs.gov/neis/epic/epic.html
Time, Location and Magnitude: list(yr, jd, mo, dom, hr, mi, sec, lat, lon, depth, z, mag)
May try using the CSV version of the dump.
Jonathan M. Lees<jonathan.lees@unc.edu>
http://neic.usgs.gov/neis/epic/epic.html
getPDEcsv, getPDEscreen
###### copy/paste from the screen dump at the NEIC web site
K = c(
' PDE-Q 2008 12 31 053408.80 40.11 -77.00 1 2.4 LgGS ... ....... ',
' PDE-Q 2008 12 31 084757.50 46.75 154.41 14 4.9 mbGS ... ....... ')
G = parse.pde(K[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.