history_range {rwunderground}R Documentation

Hourly weather data for specified date range.

Description

Hourly weather data for specified date range.

Usage

history_range(location, date_start = "20150101", date_end = "20150105",
  limit = 10, no_api = FALSE, use_metric = FALSE, key = get_api_key(),
  raw = FALSE, message = TRUE)

Arguments

location

location set by set_location

date_start

start date

date_end

end date

limit

Maximum number of API requests per minute, NULL to have no limits

no_api

bypass API and use URL requests

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, humidity, wind speed, gust and direction, visibility, pressure, wind chill, heat index, precipitation, condition, fog, rain, snow, hail, thunder, tornado

Examples

## Not run: 
history_range(set_location(territory = "Hawaii", city = "Honolulu"), "20130101", "20130105")
history_range(set_location(airport_code = "SEA"), "20130101", "20130105")
history_range(set_location(zip_code = "90210"), "20130131", "20130205")
history_range(set_location(territory = "IR", city = "Tehran"), "20140131", "20140202")

## End(Not run)

[Package rwunderground version 0.1.8 Index]