almanac: Average and record high and low temperatures for current date...

Description Usage Arguments Value Examples

View source: R/almanac.R

Description

Average and record high and low temperatures for current date going back as far as weather underground has data or from the national weather service going back 30 years.

Usage

1
2
almanac(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 columns: location, airport, avg_high, record high, avg_low, record low.

Examples

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

## End(Not run)

ALShum/rwunderground documentation built on Feb. 12, 2018, 1:42 p.m.