Description Usage Arguments Value Examples
Calls NASA's Earth Observatory Natural Event Tracker (EONET) webservice and
returns a list containing individual events as data.frame
.
1 2 3 | earth_event(status = c("all", "open", "closed"), sources = "all",
category_id = "all", limit = 10, days = 20, LimitType = c("limit",
"days", "all"), TrySimplify = TRUE)
|
status |
Accepts "open" or "closed". Defaults to "all", which includes both. |
sources |
Accepts character id strings from EONET sources
(see |
category_id |
Accepts number id strings from EONET category tree
(see |
limit |
Limit of events to download. If |
days |
Limit of days (less than today) to download events from.
If |
LimitType |
Type of limit to consider: "limit" (count of events), "days" (days less than today) or "all" (both limits). |
TrySimplify |
If TRUE tries to coerce category and event data.frames into one (successful if there is one category per event). |
Returns a list
with individual events:
Events |
|
Sources |
|
Categories |
|
Geography |
|
Meta |
|
1 2 3 4 | ## Not run:
event <- earth_event(limit = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.