webcam: Returns locations of personal weather stations along with...

Description Usage Arguments Value Examples

View source: R/webcam.R

Description

Returns locations of personal weather stations along with URLs for their webcam images

Usage

1
webcam(location, key = get_api_key(), raw = FALSE, message = TRUE)

Arguments

location

location set by set_location

key

weather underground API key

raw

if TRUE return raw httr object

message

if TRUE print out requested URL

Value

tbl_df of weather stations including: handle, id, city, state, country, tz, lat, lon, last updated, image URL and cam URL.

Examples

1
2
3
4
5
6
## Not run: 
webcam(set_location(territory = "Hawaii", city = "Honolulu"))
webcam(set_location(territory = "Iowa", city = "Iowa City"))
webcam(set_location(territory = "Iraq", city = "Baghdad"))

## End(Not run)

ALShum/rwunderground documentation built on May 3, 2018, 11:28 p.m.