sunrise_sunset: Get sunrise and sunset data for one day at US airport...

Description Usage Arguments Value Examples

View source: R/sunrise_sunset.R

Description

Get sunrise and sunset data for one day at US airport location from TSA API

Usage

1
sunrise_sunset(the_airport_code, the_date = Sys.Date())

Arguments

the_airport_code

string valid 3-letter US airport code. See http://bit.ly/USAirportCodes for full list.

the_date

string or date object in yyyy-mm-dd format. Defaults to current date.

Value

list with Sunrise, Sunset, Date, Location

Examples

1
2
3
4
5
## Not run: 
sunrise_sunset("BOS")
sunrise_sunset("JFK", "2019-12-22")

## End(Not run)

SunsetTSA documentation built on Dec. 16, 2019, 5:43 p.m.