{
  "_id": "6aae3b9f3d719c1f84079cc0",
  "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-09-19 07:24:20 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/634888d2f70f5326ef0b97f8a6782da90e3fe4006797300a44beba600a53aaa2",
  "_filesize": 1815864,
  "_sha256": "634888d2f70f5326ef0b97f8a6782da90e3fe4006797300a44beba600a53aaa2",
  "_expires": "2026-12-28T07:37:01.000Z",
  "_created": "2026-09-19T07:24:20.000Z",
  "_published": "2026-09-19T07:37:03.139Z",
  "_jobs": [
    {
      "job": 105860732020,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10579887239"
    },
    {
      "job": 105860732029,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10579729854"
    },
    {
      "job": 105860732093,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10580212266"
    },
    {
      "job": 105860732049,
      "time": 282,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10580082345"
    },
    {
      "job": 105860132420,
      "time": 264,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10580405260"
    },
    {
      "job": 105860732009,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10579614848"
    },
    {
      "job": 105860732052,
      "time": 97,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10580545131"
    },
    {
      "job": 105860732065,
      "time": 101,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10579942125"
    },
    {
      "job": 105860732061,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10580425351"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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": 44,
  "_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": 276,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sugarbag"
  },
  "_devurl": "https://github.com/srkobakian/sugarbag",
  "_pkgdown": "https://srkobakian.github.io/sugarbag/",
  "_searchresults": 65,
  "_rbuild": "4.6.1",
  "_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": 7.359456020120987,
  "_indexed": true,
  "_nocasepkg": "sugarbag",
  "_universes": [
    "srkobakian",
    "dicook"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-09-19T07:27:01.000Z",
      "distro": "resolute",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/5895f63f3e5f41d1f4597dcda3d42c10be149b72ab8bd59e90e5ab8ff813db29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-09-19T07:26:55.000Z",
      "distro": "resolute",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/5c0f080f0c118b933239ae3b72ae10e5d4d3db419fb9b8acdc50025d9b5ebf3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-09-19T07:35:50.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/ded5c97ce1623a1361b600444fbac7a0babb304d0140969875ca27c395a7f5dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.10",
      "date": "2026-09-19T07:34:22.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/4da87a8f29c541ce6e8affcc6b23f86be8f0565f2b9786a1bc85a4233bd1e5d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-09-19T07:27:00.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/7a13841c445485e36287a3321f03cb2ea3a02b4641daa18ddf3dbf77e12bc989",
      "status": "success",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-09-19T07:25:37.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/3304f5cd18eb8a1492fe90a3f7922ad09d32981093575e355511aca8678afd63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-09-19T07:25:38.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/ee0d0f5bde50f4575ab358566c187da161184d9e944c988f1d3f1dbc0e8dbafe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.10",
      "date": "2026-09-19T07:25:42.000Z",
      "commit": "de0ec31a4bdb097c165cd2876c264759433324a0",
      "fileid": "https://r2.ropensci.org/20adfc92f226d948138fe2f8218adc225f59f2e980976e64ff8bcb9fc3cf38c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/srkobakian/actions/runs/35429031111"
    }
  ]
}