alerts: Weather Alerts for United States and Europe

Description Usage Arguments Value Examples

Description

Weather Alerts for United States and Europe

Usage

1
2
alerts(location, key = get_api_key(), raw = FALSE, raw_JSON = FALSE,
  message = TRUE)

Arguments

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

Value

A string containing alert type, message, start time and expiration.

Examples

1
2
3
4
5
6
7
## 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)

rwunderground documentation built on May 2, 2019, 2:46 a.m.