{
  "_id": "6a1010a4acfb0bcc41c81f22",
  "Package": "sugarbag",
  "Title": "Create Tessellated Hexagon Maps",
  "Version": "0.1.10",
  "Authors@R": "c(person(\"Dianne\", \"Cook\", email = \"dicook@monash.edu\", role = c(\"aut\", \"cre\", \"ths\"),\ncomment = c(ORCID = \"0000-0002-3813-7155\")),\nperson(\"Stephanie\", \"Kobakian\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-4616-0048\")),\nperson(\"Matt\", \"Cowgill\", role = c(\"ctb\")))",
  "Description": "Create a hexagon tile map display from spatial polygons.\nEach polygon is represented by a hexagon tile, placed as close\nto it's original centroid as possible, with a focus on\nmaintaining spatial relationship to a focal point. Developed to\naid visualisation and analysis of spatial distributions across\nAustralia, which can be challenging due to the concentration of\nthe population on the coast and wide open interior.",
  "URL": "https://srkobakian.github.io/sugarbag/,\nhttps://github.com/srkobakian/sugarbag",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://srkobakian.r-universe.dev",
  "Date/Publication": "2026-01-22 22:03:35 UTC",
  "RemoteUrl": "https://github.com/srkobakian/sugarbag",
  "RemoteRef": "HEAD",
  "RemoteSha": "de0ec31a4bdb097c165cd2876c264759433324a0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 08:11:15 UTC",
    "User": "root"
  },
  "Author": "Dianne Cook [aut, cre, ths] (ORCID:\n<https://orcid.org/0000-0002-3813-7155>),\nStephanie Kobakian [aut] (ORCID:\n<https://orcid.org/0000-0002-4616-0048>),\nMatt Cowgill [ctb]",
  "Maintainer": "Dianne Cook <dicook@monash.edu>",
  "MD5sum": "0fbba7306561e75c7167e2c39b75f881",
  "_user": "srkobakian",
  "_type": "src",
  "_file": "sugarbag_0.1.10.tar.gz",
  "_fileid": "663086c3a35ed86b68ca04cc0eaebe906a2daea0a8a5361ac898f69181c65b42",
  "_filesize": 1814649,
  "_sha256": "663086c3a35ed86b68ca04cc0eaebe906a2daea0a8a5361ac898f69181c65b42",
  "_created": "2026-05-22T08:11:15.000Z",
  "_published": "2026-05-22T08:15:32.291Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77341585150,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155895822"
    },
    {
      "job": 77341585120,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155897108"
    },
    {
      "job": 77341585148,
      "time": 221,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7155901920"
    },
    {
      "job": 77341585203,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155883875"
    },
    {
      "job": 77341091596,
      "time": 204,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155849594"
    },
    {
      "job": 77341585151,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155887613"
    },
    {
      "job": 77341585227,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7155877120"
    },
    {
      "job": 77341585206,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7155880341"
    },
    {
      "job": 77341585126,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7155880744"
    }
  ],
  "_buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/srkobakian/sugarbag",
  "_commit": {
    "id": "de0ec31a4bdb097c165cd2876c264759433324a0",
    "author": "Dianne Cook <visnut@gmail.com>",
    "committer": "Dianne Cook <visnut@gmail.com>",
    "message": "cran comments updated with tests\n",
    "time": 1769119415
  },
  "_maintainer": {
    "name": "Dianne Cook",
    "email": "dicook@monash.edu",
    "login": "dicook",
    "mastodon": "@visnut@aus.social",
    "description": "Professor, Econometrics and Business Statistics, Monash University, Melbourne, Australia. Fellow of the ASA, Elected Member of the R Foundation and ISI. ",
    "uuid": 253191,
    "orcid": "0000-0002-3813-7155"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Depends"
    },
    {
      "package": "geosphere",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "progress",
      "version": ">= 1.2.2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.4",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.4",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0-8",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.1.7",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    }
  ],
  "_owner": "srkobakian",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 9
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 43,
  "_contributors": [
    {
      "user": "srkobakian",
      "count": 259,
      "uuid": 19852966
    },
    {
      "user": "dicook",
      "count": 50,
      "uuid": 253191
    },
    {
      "user": "mitchelloharawild",
      "count": 31,
      "uuid": 16127127
    },
    {
      "user": "mattcowgill",
      "count": 11,
      "uuid": 8002951
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    }
  ],
  "_userbio": {
    "uuid": 19852966,
    "type": "user",
    "name": "Stephanie Kobakian",
    "description": "R package developer in a previous life"
  },
  "_downloads": {
    "count": 227,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sugarbag"
  },
  "_devurl": "https://github.com/srkobakian/sugarbag",
  "_pkgdown": "https://srkobakian.github.io/sugarbag/",
  "_searchresults": 56,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sugarbag.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/srkobakian/sugarbag",
  "_realowner": "srkobakian",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-06-14"
    },
    {
      "version": "0.1.1",
      "date": "2019-08-20"
    },
    {
      "version": "0.1.2",
      "date": "2020-01-08"
    },
    {
      "version": "0.1.3",
      "date": "2020-10-26"
    },
    {
      "version": "0.1.6",
      "date": "2022-11-09"
    },
    {
      "version": "0.1.9",
      "date": "2025-12-11"
    },
    {
      "version": "0.1.10",
      "date": "2026-01-22"
    }
  ],
  "_exports": [
    "%>%",
    "allocate",
    "closest_focal_point",
    "create_centroids",
    "create_grid",
    "create_hexmap",
    "fortify_hexagon",
    "fortify_sfc"
  ],
  "_datasets": [
    {
      "name": "capital_cities",
      "title": "The point locations of Australian capital cities.",
      "object": "capital_cities",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "points",
        "longitude",
        "latitude"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    },
    {
      "name": "fp19",
      "title": "2019 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.",
      "object": "fp19",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "StateAb",
        "DivisionID",
        "DivisionNm",
        "CandidateID",
        "Surname",
        "GivenNm",
        "BallotPosition",
        "Elected",
        "HistoricElected",
        "PartyAb",
        "PartyNm",
        "OrdinaryVotes",
        "AbsentVotes",
        "ProvisionalVotes",
        "PrePollVotes",
        "PostalVotes",
        "TotalVotes",
        "Swing"
      ],
      "rows": 1207,
      "table": true,
      "tojson": true
    },
    {
      "name": "homeless",
      "title": "The amount of homeless people in each Statistical Area at Level 2 in 2016.",
      "object": "homeless",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "homeless",
        "sa2_name_2016"
      ],
      "rows": 2292,
      "table": true,
      "tojson": true
    },
    {
      "name": "tas_lga",
      "title": "The polygons of Tasmanian Local Government Areas in 2016.",
      "object": "tas_lga",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "lga_code_2016",
        "lga_name_2016",
        "state_code_2016",
        "state_name_2016",
        "areasqkm_2016",
        "cent_long",
        "cent_lat",
        "geometry"
      ],
      "rows": 31,
      "table": false,
      "tojson": true
    },
    {
      "name": "tas_lga_hexctr",
      "title": "The hexagon centres for polygons of Tasmanian Local Government Areas in 2016.",
      "object": "tas_lga_hexctr",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "lga_code_2016",
        "longitude",
        "latitude",
        "points",
        "focal_longitude",
        "focal_latitude",
        "focal_dist",
        "focal_angle",
        "rownumber",
        "hex_long",
        "hex_lat",
        "hex_id"
      ],
      "rows": 29,
      "table": true,
      "tojson": true
    },
    {
      "name": "tas_sa2",
      "title": "The polygons of Tasmanian Statistical Areas in 2016.",
      "object": "tas_sa2",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "sa2_code_2016",
        "sa2_5dig_2016",
        "sa2_name_2016",
        "sa3_code_2016",
        "sa3_name_2016",
        "sa4_code_2016",
        "sa4_name_2016",
        "gcc_code_2016",
        "gcc_name_2016",
        "state_code_2016",
        "state_name_2016",
        "areasqkm_2016",
        "cent_long",
        "cent_lat",
        "geometry"
      ],
      "rows": 101,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "allocate",
      "title": "Allocate polygon centroids to hexagons in a grid",
      "topics": [
        "allocate"
      ]
    },
    {
      "page": "capital_cities",
      "title": "The point locations of Australian capital cities.",
      "topics": [
        "capital_cities"
      ]
    },
    {
      "page": "closest_focal_point",
      "title": "For the polygon provided, find the closest focal point in the set provided",
      "topics": [
        "closest_focal_point"
      ]
    },
    {
      "page": "create_buffer",
      "title": "Expand points to extend beyond the outermost centroids",
      "topics": [
        "create_buffer"
      ]
    },
    {
      "page": "create_centroids",
      "title": "Create a data frame of longitude and latitude centroids of each polygon.",
      "topics": [
        "create_centroids"
      ]
    },
    {
      "page": "create_grid",
      "title": "Create a grid of evenly spaced points to allow hexagons to tessellate",
      "topics": [
        "create_grid"
      ]
    },
    {
      "page": "create_hexmap",
      "title": "Create a tessellated hexagon map from a set of polygons",
      "topics": [
        "create_hexmap"
      ]
    },
    {
      "page": "filter_grid_points",
      "title": "Filter full set of grid points for those within range of original point",
      "topics": [
        "filter_grid_points"
      ]
    },
    {
      "page": "fortify_hexagon",
      "title": "Creates the points that define a hexagon polygon for plotting",
      "topics": [
        "fortify_hexagon"
      ]
    },
    {
      "page": "fortify_sfc",
      "title": "Convert a simple features tibble to tibble for plotting.",
      "topics": [
        "fortify_sfc"
      ]
    },
    {
      "page": "fp19",
      "title": "2019 Australian Federal election data: First preference votes for candidates (House of Representatives) in each electorate.",
      "topics": [
        "fp19"
      ]
    },
    {
      "page": "homeless",
      "title": "The amount of homeless people in each Statistical Area at Level 2 in 2016.",
      "topics": [
        "homeless"
      ]
    },
    {
      "page": "tas_lga",
      "title": "The polygons of Tasmanian Local Government Areas in 2016.",
      "topics": [
        "tas_lga"
      ]
    },
    {
      "page": "tas_lga_hexctr",
      "title": "The hexagon centres for polygons of Tasmanian Local Government Areas in 2016.",
      "topics": [
        "tas_lga_hexctr"
      ]
    },
    {
      "page": "tas_sa2",
      "title": "The polygons of Tasmanian Statistical Areas in 2016.",
      "topics": [
        "tas_sa2"
      ]
    }
  ],
  "_pkglogo": "https://github.com/srkobakian/sugarbag/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/srkobakian/sugarbag/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "geosphere",
    "glue",
    "hms",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "Tasmania.Rmd",
      "filename": "Tasmania.html",
      "title": "Tasmania",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating a hexagon map of Tasmania",
        "Data",
        "Centroids",
        "Hexagon grid",
        "Allocate areas"
      ],
      "created": "2020-10-04 02:19:55",
      "modified": "2022-11-13 04:14:00",
      "commits": 6
    }
  ],
  "_score": 7.284746469577731,
  "_indexed": true,
  "_nocasepkg": "sugarbag",
  "_universes": [
    "srkobakian",
    "dicook"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-05-22T08:13:42.000Z",
      "distro": "noble",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "a1065e7a9ec2cee194071f7f91c557c029e2a2a2278fb4241279bfa457faabd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-05-22T08:13:47.000Z",
      "distro": "noble",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "f63a9718539b0f2bf040ba8f20ae1ca152a086c98f17cbb11af5bec64d508f26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-05-22T08:14:09.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "2ce10b56a86b5a5f0f47f4810d89b966c4134cb9d4f65df02e873b6e6b24bba5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-05-22T08:13:11.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "3f9544141589343512ea938ec5ae8c85c860766ae6d827ca05c16de2f9671376",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-05-22T08:13:45.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "75cdc4c594d3d92457ff84a91583e9938bbe28dfd0f0a9a9a3214c99a00e3ad0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-05-22T08:12:33.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "03d4c102eae75e1cc11f8fb928788261967abb5401bd5fabdc8dea1c47637336",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-05-22T08:12:44.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "8a189a2d31c15440ce9b417f06f90d052630590868d19899c837d396d7387f2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-05-22T08:12:37.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "527f53054b6a5aee363a92cc2ad592ea76e0592715bdc0ffbd0ce29af3f23e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/26276239267"
    }
  ]
}