{"id":13423416,"url":"https://github.com/hrbrmstr/daybreak","last_synced_at":"2025-06-23T01:39:10.812Z","repository":{"id":141238098,"uuid":"231078466","full_name":"hrbrmstr/daybreak","owner":"hrbrmstr","description":"🌆Compute Sun Rise/Set Times, Start/End of Twilight, and the Length of the Day at Any Date and Latitude","archived":false,"fork":false,"pushed_at":"2021-01-03T17:55:01.000Z","size":26,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T20:51:12.682Z","etag":null,"topics":["r","rstats","sunrise","sunrise-sunset","sunset"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-12-31T11:32:16.000Z","updated_at":"2022-11-09T04:48:52.000Z","dependencies_parsed_at":"2024-01-31T07:56:46.332Z","dependency_job_id":null,"html_url":"https://github.com/hrbrmstr/daybreak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fdaybreak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fdaybreak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fdaybreak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fdaybreak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/daybreak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238752428,"owners_count":19524758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r","rstats","sunrise","sunrise-sunset","sunset"],"created_at":"2024-07-31T00:00:34.070Z","updated_at":"2025-02-13T23:33:06.395Z","avatar_url":"https://github.com/hrbrmstr.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\neditor_options: \n  chunk_output_type: console\n---\n```{r pkg-knitr-opts, include=FALSE}\nhrbrpkghelpr::global_opts()\n```\n\n```{r badges, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::stinking_badges()\n```\n\n```{r description, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::yank_title_and_description()\n```\n\n## What's Inside The Tin\n\nThe following functions are implemented:\n\n```{r ingredients, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::describe_ingredients()\n```\n\n## Installation\n\n```{r install-ex, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::install_block()\n```\n\n## Usage\n\n```{r lib-ex}\nlibrary(daybreak)\n\n# current version\npackageVersion(\"daybreak\")\n\n```\n\nNear me:\n\n```{r ex1}\nday_length(\"2019-12-31\", -70.8636, 43.2683)\nday_civil_twilight_length(\"2019-12-31\", -70.8636, 43.2683)\nday_nautical_twilight_length(\"2019-12-31\", -70.8636, 43.2683)\nday_astronomical_twilight_length(\"2019-12-31\", -70.8636, 43.2683)\nsun_rise_set(\"2019-12-31\", -70.8636, 43.2683)\ncivil_twilight(\"2019-12-31\", -70.8636, 43.2683)\nnautical_twilight(\"2019-12-31\", -70.8636, 43.2683)\nastronomical_twilight(\"2019-12-31\", -70.8636, 43.2683)\n```\n\nTromsø, Norway (Winter)\n\n```{r ex2}\nday_length(\"2019-12-31\", 18.9553, 69.6492)\nday_civil_twilight_length(\"2019-12-31\", 18.9553, 69.6492)\nday_nautical_twilight_length(\"2019-12-31\", 18.9553, 69.6492)\nday_astronomical_twilight_length(\"2019-12-31\", 18.9553, 69.6492)\nsun_rise_set(\"2019-12-31\", 18.9553, 69.6492)\ncivil_twilight(\"2019-12-31\", 18.9553, 69.6492)\nnautical_twilight(\"2019-12-31\", 18.9553, 69.6492)\nastronomical_twilight(\"2019-12-31\", 18.9553, 69.6492)\n```\n\nTromsø, Norway (Summer)\n\n```{r ex3}\nday_length(\"2019-06-01\", 18.9553, 69.6492)\nday_civil_twilight_length(\"2019-06-01\", 18.9553, 69.6492)\nday_nautical_twilight_length(\"2019-06-01\", 18.9553, 69.6492)\nday_astronomical_twilight_length(\"2019-06-01\", 18.9553, 69.6492)\nsun_rise_set(\"2019-06-01\", 18.9553, 69.6492)\ncivil_twilight(\"2019-06-01\", 18.9553, 69.6492)\nnautical_twilight(\"2019-06-01\", 18.9553, 69.6492)\nastronomical_twilight(\"2019-06-01\", 18.9553, 69.6492)\n```\n\n## daybreak Metrics\n\n```{r cloc, echo=FALSE}\ncloc::cloc_pkg_md()\n```\n\n## Code of Conduct\n\nPlease note that this project is released with a Contributor Code of Conduct. \nBy participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fdaybreak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fdaybreak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fdaybreak/lists"}