powered by
Get sunrise and sunset data for one day at US airport location from TSA API
sunrise_sunset(the_airport_code, the_date = Sys.Date())
string valid 3-letter US airport code. See http://bit.ly/USAirportCodes for full list.
string or date object in yyyy-mm-dd format. Defaults to current date.
list with Sunrise, Sunset, Date, Location
# NOT RUN { sunrise_sunset("BOS") sunrise_sunset("JFK", "2019-12-22") # }
Run the code above in your browser using DataLab