history_daily: Summarized weather data for specified date.

Description Usage Arguments Value Examples

Description

Summarized weather data for specified date.

Usage

1
2
history_daily(location, date = "20150101", use_metric = FALSE,
  key = get_api_key(), raw = FALSE, message = TRUE)

Arguments

location

location set by set_location

date

Date as YYYYMMDD format

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 of summarized weather

Examples

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

## End(Not run)

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