Create Tessellated Hexagon Maps


[Up] [Top]

Documentation for package ‘sugarbag’ version 0.1.6

Help Pages

allocate Allocate polygon centroids to hexagons in a grid
capital_cities The point locations of Australian capital cities.
closest_focal_point For the polygon provided, find the closest focal point in the set provided
create_buffer Expand points to extend beyond the outermost centroids
create_centroids Create a data frame of longitude and latitude centroids of each polygon.
create_grid Create a grid of evenly spaced points to allow hexagons to tessellate
create_hexmap Create a tessellated hexagon map from a set of polygons
filter_grid_points Filter full set of grid points for those within range of original point
fortify_hexagon Creates the points that define a hexagon polygon for plotting
fortify_sfc Convert a simple features tibble to tibble for plotting.
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.
read_shape Read in the shape file as sf object
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.