suncalc: Compute Sun Position, Sunlight Phases, Moon Position and Lunar Phase

Get sun position, sunlight phases (times for sunrise, sunset, dusk, etc.), moon position and lunar phase for the given location and time. Most calculations are based on the formulas given in Astronomy Answers articles about position of the sun and the planets : <https://www.aa.quae.nl/en/reken/zonpositie.html>.

Getting started

Package details

AuthorBenoit Thieurmel [aut, cre] (R interface), Achraf Elmarhraoui [aut] (R interface)
MaintainerBenoit Thieurmel <bthieurmel@gmail.com>
LicenseGPL-2 | file LICENSE
Version0.5.1
URL https://github.com/datastorm-open/suncalc
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("suncalc")

Try the suncalc package in your browser

Any scripts or data that you put into this service are public.

suncalc documentation built on Sept. 29, 2022, 5:11 p.m.