Description Usage Arguments Examples
Calls NASA's Earth Observatory Natural Event Tracker (EONET) webservice and returns a data.frame with individual event or events.
1 2 | earth_event(status = "all", sources = "all", category_id = "all",
limit = 10, days = 20, LimitType = "limit", TrySimplify = TRUE)
|
status |
Accepts 1 or 0 (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 (se |
limit |
Limit of events to download. If LimitType = "days" this is not considered. Defaults to 10. |
days |
Limit of days (less than today) to download events from. If LimitType = "limit" this is not considered. Defaults to 20. |
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). |
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.