add_sunrise_sunset | R Documentation |
Add sunrise and sunset times to data frame
add_sunrise_sunset(data, lat)
data |
data frame with day of year column named 'doy' |
lat |
location latitude (degrees) |
data frame with added columns sunrise and sunset
add_sunrise_sunset(data.frame(doy = 1:366), lat = 45)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.