history_daily: Summarized weather data for specified date.

Description Usage Arguments Value Examples

View source: R/history.R

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)

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