DataPackage data files |
|
---|---|
The point locations of Australian capital cities. |
|
The polygons of Tasmanian Statistical Areas in 2016. |
|
2019 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate. |
|
The amount of homeless people in each Statistical Area at Level 2 in 2016. |
|
The polygons of Tasmanian Local Government Areas in 2016. |
|
The hexagon centres for polygons of Tasmanian Local Government Areas in 2016. |
|
Core FunctionsFunctions used to create a tessellated hexagon map |
|
geom_sugarbag |
|
Create a tessellated hexagon map from a set of polygons |
|
Create a data frame of longitude and latitude centroids of each polygon. |
|
For the polygon provided, find the closest focal point in the set provided |
|
Create a grid of evenly spaced points to allow hexagons to tessellate |
|
Allocate polygon centroids to hexagons in a grid |
|
Expand points to extend beyond the outermost centroids |
|
Filter full set of grid points for those within range of original point |
|
Helper FunctionsFunctions used to manipulate data |
|
Read in the shape file as sf object |
|
Creates the points that define a hexagon polygon for plotting |
|
Convert a simple features tibble to tibble for plotting. |