forecast10day: Forecast for the next 10 days.

Description Usage Arguments Value Examples

Description

Forecast for the next 10 days.

Usage

1
2
forecast10day(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 (in posix format), high and low temp, conditions, precipitation, rain, snow, max and avg wind speed, max/min and avg humidity

Examples

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

## End(Not run)

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