hourly: Hourly forecast for the next 24 hours.

Description Usage Arguments Value Examples

View source: R/hourly.R

Description

Hourly forecast for the next 24 hours.

Usage

1
2
hourly(location, use_metric = FALSE, key = get_api_key(), raw = FALSE,
  message = TRUE)

Arguments

location

location set by set_location

use_metric

Metric or imperial units

key

weather underground API key

raw

if TRUE return raw httr object

message

if TRUE print out requested URL

Value

tbl_df with date, temperature, dew point, condition, wind speed and direction, UV index, humidity, windchill, heat index, real feel, rain, snow, pop, mslp

Examples

1
2
3
4
5
6
7
## Not run: 
hourly(set_location(territory = "Hawaii", city = "Honolulu"))
hourly(set_location(airport_code = "SEA"))
hourly(set_location(zip_code = "90210"))
hourly(set_location(territory = "IR", city = "Tehran"))

## End(Not run)

ALShum/rwunderground documentation built on May 5, 2019, 11:34 a.m.