Package: sugarbag 0.1.8

Dianne Cook

sugarbag: Create Tessellated Hexagon Maps

Create a hexagon tile map display from spatial polygons. Each polygon is represented by a hexagon tile, placed as close to it's original centroid as possible, with a focus on maintaining spatial relationship to a focal point. Developed to aid visualisation and analysis of spatial distributions across Australia, which can be challenging due to the concentration of the population on the coast and wide open interior.

Authors:Dianne Cook [aut, cre, ths], Stephanie Kobakian [aut], Matt Cowgill [ctb]

sugarbag_0.1.8.tar.gz
sugarbag_0.1.8.zip(r-4.5)sugarbag_0.1.8.zip(r-4.4)sugarbag_0.1.8.zip(r-4.3)
sugarbag_0.1.8.tgz(r-4.5-any)sugarbag_0.1.8.tgz(r-4.4-any)sugarbag_0.1.8.tgz(r-4.3-any)
sugarbag_0.1.8.tar.gz(r-4.5-noble)sugarbag_0.1.8.tar.gz(r-4.4-noble)
sugarbag_0.1.8.tgz(r-4.4-emscripten)sugarbag_0.1.8.tgz(r-4.3-emscripten)
sugarbag.pdf |sugarbag.html
sugarbag/json (API)
NEWS

# Install 'sugarbag' in R:
install.packages('sugarbag', repos = c('https://srkobakian.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/srkobakian/sugarbag/issues

Pkgdown site:https://srkobakian.github.io

Datasets:
  • capital_cities - The point locations of Australian capital cities.
  • fp19 - 2019 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.
  • homeless - The amount of homeless people in each Statistical Area at Level 2 in 2016.
  • tas_lga - The polygons of Tasmanian Local Government Areas in 2016.
  • tas_lga_hexctr - The hexagon centres for polygons of Tasmanian Local Government Areas in 2016.
  • tas_sa2 - The polygons of Tasmanian Statistical Areas in 2016.

On CRAN:

Conda:

6.52 score 42 stars 53 scripts 241 downloads 10 exports 68 dependencies

Last updated 2 years agofrom:e0c3cfc9e9. Checks:3 OK, 6 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 09 2025
R-4.5-winNOTEMar 09 2025
R-4.5-macNOTEMar 09 2025
R-4.5-linuxNOTEMar 09 2025
R-4.4-winNOTEMar 09 2025
R-4.4-macNOTEMar 09 2025
R-4.4-linuxNOTEMar 09 2025
R-4.3-winOKMar 09 2025
R-4.3-macOKMar 09 2025

Exports:%>%allocateclosest_focal_pointcreate_centroidscreate_gridcreate_hexmapfortify_hexagonfortify_sfcgeom_sugarbagread_shape

Dependencies:bitbit64classclassIntclicliprcolorspacecpp11crayoncurlDBIdplyre1071fansifarvergenericsgeojsonsfgeometriesgeosphereggplot2gluegtablehmsisobandjsonifyjsonliteKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigprettyunitsprogressproxypurrrR6rapidjsonrRColorBrewerRcppreadrrlangrmapshapers2scalessfsfheadersspstringistringrtibbletidyrtidyselecttzdbunitsutf8V8vctrsviridisLitevroomwithrwk

Tasmania

Rendered fromTasmania.Rmdusingknitr::rmarkdownon Mar 09 2025.

Last update: 2022-11-13
Started: 2020-10-04