alerts {rwunderground} | R Documentation |
Weather Alerts for United States and Europe
alerts(location, key = get_api_key(), raw = FALSE, raw_JSON = FALSE,
message = TRUE)
location |
location set by set_location |
key |
weather underground API key |
raw |
if TRUE return raw httr object |
raw_JSON |
if TRUE return entire alert as JSON |
message |
if TRUE print out requested URL |
A string containing alert type, message, start time and expiration.
## Not run:
alerts(set_location(territory = "Hawaii", city = "Honolulu"))
alerts(set_location(airport_code = "SEA"))
alerts(set_location(zip_code = "90210"))
alerts(set_location(territory = "IR", city = "Tehran"))
## End(Not run)