tide: Tidal information for a location within the USA. Tidal...

Description Usage Arguments Value Examples

View source: R/tide.R

Description

Tidal information for a location within the USA. Tidal information only available for US cities. Units are in feet.

Usage

1
tide(location, key = get_api_key(), raw = FALSE, message = TRUE)

Arguments

location

location set by set_location

key

weather underground API key

raw

if TRUE return raw httr object

message

if TRUE print out requested URL

Value

tbl_df with date, height and type

Examples

1
2
3
4
5
6
## Not run: 
tide(set_location(territory = "Hawaii", city = "Honolulu"))
tide(set_location(territory = "Washington", city = "Seattle"))
tide(set_location(territory = "Louisiana", city = "New Orleans"))

## End(Not run)

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