Package: gghourglass 0.0.3.0001

gghourglass: Plot Records per Time of Day
Splits date and time of day components from continuous 'datetime' objects, then plots them using grammar of graphics ('ggplot2'). Plots can also be decorated with solar cycle information (e.g., sunset, sunrise, etc.). This is useful for visualising data that are associated with the solar cycle.
Authors:
gghourglass_0.0.3.0001.tar.gz
gghourglass_0.0.3.0001.zip(r-4.7)gghourglass_0.0.3.0001.zip(r-4.6)gghourglass_0.0.3.0001.zip(r-4.5)
gghourglass_0.0.3.0001.tgz(r-4.6-any)gghourglass_0.0.3.0001.tgz(r-4.5-any)
gghourglass_0.0.3.0001.tar.gz(r-4.7-any)gghourglass_0.0.3.0001.tar.gz(r-4.6-any)
gghourglass_0.0.3.0001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
gghourglass/json (API)
NEWS
| # Install 'gghourglass' in R: |
| install.packages('gghourglass', repos = c('https://pepijn-devries.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pepijn-devries/gghourglass/issues
Pkgdown/docs site:https://pepijn-devries.github.io
- bats - Observations from a bat detector
Last updated from:01dda4ea69 (on master). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 169 | ||
| source / vignettes | OK | 197 | ||
| linux-release-x86_64 | OK | 151 | ||
| macos-release-arm64 | OK | 119 | ||
| macos-oldrel-arm64 | OK | 92 | ||
| windows-devel | OK | 90 | ||
| windows-release | OK | 110 | ||
| windows-oldrel | OK | 115 | ||
| wasm-release | OK | 119 |
Exports:annotate_daylightannotate_lunarphaseannotate_periodstatesAnnotateDaylightAnnotateLunarphasecoord_hourglassCoordHourglassgeom_hourglassGeomHourglassget_dateget_hourlunar_phase_polygonstat_hourglassStatHourglassuses_dst
Dependencies:clicpp11data.tabledplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclelubridatemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrsuncalctibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Annotate a period in an hourglass plot | annotate_periodstates |
| Annotate ggplot with a band indicating solar events | AnnotateDaylight annotate_daylight |
| Annotate ggplot with lunar phases | AnnotateLunarphase annotate_lunarphase |
| Observations from a bat detector | bats |
| Hourglass coordinates for a ggplot | CoordHourglass coord_hourglass |
| Add an 'hourglass' layer to a ggplot | GeomHourglass geom_hourglass |
| Functions to split datetime into date and time of day | get_date get_hour |
| Get the shape of the illuminated part of the moon | lunar_phase_polygon |
| A ggplot2 'stat' function to wrangle data for 'geom_hourglass'. | StatHourglass stat_hourglass |
| Test if datetime object potentially uses daylight saving time | uses_dst |
