Learn R Programming

rwunderground (version 0.1.8)

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

Description

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

Usage

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

Run this code
# NOT RUN {
webcam(set_location(territory = "Hawaii", city = "Honolulu"))
webcam(set_location(territory = "Iowa", city = "Iowa City"))
webcam(set_location(territory = "Iraq", city = "Baghdad"))
# }

Run the code above in your browser using DataLab