geolookup {rwunderground}R Documentation

Lists nearby weather stations for a given location

Description

Lists nearby weather stations for a given location

Usage

geolookup(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 of nearby weather stations with: type, city, state, country, id, lat, lon and dist (in either mi or km)

Examples

## Not run: 
geolookup(set_location(territory = "Hawaii", city = "Honolulu"))
geolookup(set_location(airport_code = "SEA"))
geolookup(set_location(zip_code = "90210"))
geolookup(set_location(territory = "IR", city = "Tehran"))

## End(Not run)

[Package rwunderground version 0.1.8 Index]