Description Usage Arguments Value Examples
Hourly weather data for specified date range.
1 2 3 | 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)
|
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 |
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
1 2 3 4 5 6 7 | ## 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)
|
Attaching package: 'rwunderground'
The following object is masked from 'package:utils':
history
Error : Please set env var WUNDERGROUNDID to your weather underground API key
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
# A tibble: 0 x 0
Error : Please set env var WUNDERGROUNDID to your weather underground API key
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
# A tibble: 0 x 0
Error : Please set env var WUNDERGROUNDID to your weather underground API key
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
# A tibble: 0 x 0
Error : Please set env var WUNDERGROUNDID to your weather underground API key
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
Error : Please set env var WUNDERGROUNDID to your weather underground API key
In addition: Warning message:
In paste(base_url(), key, request_type, "q", location, sep = "/") :
restarting interrupted promise evaluation
# A tibble: 0 x 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.