{
  "_id": "6afd828bef1f2edb40685ed3",
  "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-11-18 10:05:08 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>",
  "_user": "srkobakian",
  "_type": "src",
  "_file": "sugarbag_0.1.10.tar.gz",
  "_fileid": "https://r2.ropensci.org/03894d53000b63379efe61507e0d1d4644beb9560dfff1b3212ce625a16c6320",
  "_filesize": 1813023,
  "_sha256": "03894d53000b63379efe61507e0d1d4644beb9560dfff1b3212ce625a16c6320",
  "_expires": "2027-02-26T10:48:41.000Z",
  "_created": "2026-11-18T10:05:08.000Z",
  "_published": "2026-11-20T03:18:23.283Z",
  "_upstream": "https://github.com/srkobakian/sugarbag",
  "_status": "success",
  "_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"
  },
  "_jobs": [
    {
      "job": 134725008166,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14418105646"
    },
    {
      "job": 134725008142,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14417776099"
    },
    {
      "job": 134725008118,
      "time": 240,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14418013127"
    },
    {
      "job": 134725008958,
      "time": 215,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14419918407"
    },
    {
      "job": 134722401176,
      "time": 270,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14417875815"
    },
    {
      "job": 134725008507,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14417386912"
    },
    {
      "job": 134725008186,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14417337120"
    },
    {
      "job": 134725008105,
      "time": 82,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14416224196"
    },
    {
      "job": 134725008298,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14416149606"
    }
  ],
  "_buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925",
  "_commit": {
    "id": "de0ec31a4bdb097c165cd2876c264759433324a0",
    "author": "Dianne Cook <visnut@gmail.com>",
    "committer": "Dianne Cook <visnut@gmail.com>",
    "message": "cran comments updated with tests\n",
    "time": 1769119415
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 45,
  "_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",
    "followers": 27,
    "description": "R package developer in a previous life"
  },
  "_downloads": {
    "count": 528,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sugarbag"
  },
  "_devurl": "https://github.com/srkobakian/sugarbag",
  "_pkgdown": "https://srkobakian.github.io/sugarbag/",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sugarbag.html",
    "LICENSE"
  ],
  "_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",
    "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": 6.556302500767288,
  "_indexed": true,
  "_nocasepkg": "sugarbag",
  "_universes": [
    "srkobakian",
    "dicook"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-11-18T10:07:31.000Z",
      "distro": "resolute",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/09e95d5035e32e3f13741d12544ddf51c80f361604e5a1e4fe5f6eafd422b7e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-11-18T10:07:28.000Z",
      "distro": "resolute",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/18ece6fce9956b1d6b088a9eafc6109629f90626a5904e013187e5fef1caddcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-11-18T10:22:01.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/d609f4c76806c7501d79dba57589c7a5630f383dc0f10a51738a02b180833780",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-11-18T10:46:47.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/6c3a94ab937f447526b8f21a3ff76c07e7ad450dea5b1faf8edd93aaee5866e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-11-18T10:07:38.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/5139cc5d79fd497ea968e3f42b0b4de038a3beefa7f9899db006f4d94d5e64f2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-11-18T10:06:24.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/fd67def396ad58aed65faf3882c30098877c8687f92e2e50cc639b543f194e09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-11-18T10:06:19.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/0c754e1574d356d69870db3283b670f35e4be3ce43edff58df2c2efb40e6a638",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-11-18T10:06:20.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/c771a1458b27f72d88af4fc5615e26f5ffcfae1d8ca26bab2714cd611c485528",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/44281213925"
    }
  ]
}