Description Usage Arguments Value Examples
View source: R/sunrise_sunset.R
Get sunrise and sunset data for one day at US airport location from TSA API
1 | sunrise_sunset(the_airport_code, the_date = Sys.Date())
|
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. |
list with Sunrise, Sunset, Date, Location
1 2 3 4 5 | ## Not run:
sunrise_sunset("BOS")
sunrise_sunset("JFK", "2019-12-22")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.