{
  "_id": "6a65b00fe71990f41533f633",
  "Package": "hmatch",
  "Type": "Package",
  "Title": "Tools for Cleaning and Matching Hierarchically-Structured Data",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(given = \"Patrick\",\nfamily = \"Barks\",\nrole = c(\"aut\", \"cre\"),\nemail = \"patrick.barks@epicentre.msf.org\",\ncomment = c(ORCID = \"0000-0002-5947-8151\")),\nperson(given = \"Paul\",\nfamily = \"Campbell\",\nrole = c(\"ctb\"),\nemail = \"paul.campbell@epicentre.msf.org\",\ncomment = c(ORCID = \"0000-0003-1018-6606\"))\n)",
  "Description": "Tools for matching raw, potentially messy hierarchical\ndata (e.g. province, county, township) against a reference\ndataset.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/epicentre-msf/hmatch",
  "BugReports": "https://github.com/epicentre-msf/hmatch/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://epicentre-msf.r-universe.dev",
  "Date/Publication": "2023-11-10 17:38:17 UTC",
  "RemoteUrl": "https://github.com/epicentre-msf/hmatch",
  "RemoteRef": "HEAD",
  "RemoteSha": "1a57862a84e18711163fdc11b100ad1e60f2f491",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-26 06:53:40 UTC",
    "User": "root"
  },
  "Author": "Patrick Barks [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5947-8151>),\nPaul Campbell [ctb] (ORCID: <https://orcid.org/0000-0003-1018-6606>)",
  "Maintainer": "Patrick Barks <patrick.barks@epicentre.msf.org>",
  "_user": "epicentre-msf",
  "_type": "src",
  "_file": "hmatch_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/b91d8a7e7722d90ff31f2d5cb8dbdac124a1e74f45e90c3a7a82bc10445fda05",
  "_filesize": 224548,
  "_sha256": "b91d8a7e7722d90ff31f2d5cb8dbdac124a1e74f45e90c3a7a82bc10445fda05",
  "_expires": "2026-11-03T06:58:21.000Z",
  "_created": "2026-07-26T06:53:40.000Z",
  "_published": "2026-07-26T06:58:22.926Z",
  "_jobs": [
    {
      "job": 89766324534,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8628834488"
    },
    {
      "job": 89766324560,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8628832470"
    },
    {
      "job": 89766324554,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8628829131"
    },
    {
      "job": 89766324539,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8628829058"
    },
    {
      "job": 89766016747,
      "time": 233,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8628807932"
    },
    {
      "job": 89766324538,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8628830988"
    },
    {
      "job": 89766324562,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8628821161"
    },
    {
      "job": 89766324603,
      "time": 214,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8628845413"
    },
    {
      "job": 89766324564,
      "time": 230,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8628848598"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782",
  "_status": "success",
  "_upstream": "https://github.com/epicentre-msf/hmatch",
  "_commit": {
    "id": "1a57862a84e18711163fdc11b100ad1e60f2f491",
    "author": "patrickbarks <patrick.barks@gmail.com>",
    "committer": "patrickbarks <patrick.barks@gmail.com>",
    "message": "update gh workflows\n",
    "time": 1699637897
  },
  "_maintainer": {
    "name": "Patrick Barks",
    "email": "patrick.barks@epicentre.msf.org",
    "login": "patrickbarks",
    "description": "",
    "uuid": 12620847,
    "orcid": "0000-0002-5947-8151"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "stringdist",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    }
  ],
  "_owner": "epicentre-msf",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "patrickbarks",
      "count": 87,
      "uuid": 12620847
    },
    {
      "user": "paulc91",
      "count": 1,
      "uuid": 25231784
    },
    {
      "user": "ntncmch",
      "count": 1,
      "uuid": 1412115
    }
  ],
  "_userbio": {
    "uuid": 19820047,
    "type": "organization",
    "name": "Epicentre MSF",
    "followers": 43
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hmatch"
  },
  "_devurl": "https://github.com/epicentre-msf/hmatch",
  "_searchresults": 25,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hmatch.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "count_tokens",
    "hcodes_int",
    "hcodes_str",
    "hmatch",
    "hmatch_composite",
    "hmatch_manual",
    "hmatch_parents",
    "hmatch_permute",
    "hmatch_settle",
    "hmatch_split",
    "hmatch_tokens",
    "max_levels",
    "ref_expand",
    "separate_hcode",
    "string_std"
  ],
  "_datasets": [
    {
      "name": "ne_raw",
      "title": "Raw dataset",
      "object": "ne_raw",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "adm0",
        "adm1",
        "adm2"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    },
    {
      "name": "ne_ref",
      "title": "Reference dataset",
      "object": "ne_ref",
      "class": [
        "data.frame"
      ],
      "fields": [
        "level",
        "adm0",
        "adm1",
        "adm2",
        "hcode"
      ],
      "rows": 31,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "count_tokens",
      "title": "Find frequently occurring tokens within a hierarchical column",
      "topics": [
        "count_tokens"
      ]
    },
    {
      "page": "dictionary_recoding",
      "title": "Dictionary-based recoding of values during hierarchical matching",
      "topics": [
        "dictionary_recoding"
      ]
    },
    {
      "page": "hcodes",
      "title": "Create codes to identify each unique combination of hierarchical levels in a reference dataset",
      "topics": [
        "hcodes",
        "hcodes_int",
        "hcodes_str"
      ]
    },
    {
      "page": "hmatch",
      "title": "Match sets of hierarchical variables between a raw and reference dataset",
      "topics": [
        "hmatch"
      ]
    },
    {
      "page": "hmatch_composite",
      "title": "Implement a variety of hierarchical matching strategies in sequence",
      "topics": [
        "hmatch_composite"
      ]
    },
    {
      "page": "hmatch_manual",
      "title": "Manual hierarchical matching",
      "topics": [
        "hmatch_manual"
      ]
    },
    {
      "page": "hmatch_parents",
      "title": "Hierarchical matching of parents based on sets of common offspring",
      "topics": [
        "hmatch_parents"
      ]
    },
    {
      "page": "hmatch_permute",
      "title": "Hierarchical matching with sequential column permutation to allow for values entered at the wrong hierarchical level",
      "topics": [
        "hmatch_permute"
      ]
    },
    {
      "page": "hmatch_settle",
      "title": "Sequential hierarchical matching at each hierarchical level, settling for the highest resolution match that is possible for each row",
      "topics": [
        "hmatch_settle"
      ]
    },
    {
      "page": "hmatch_split",
      "title": "Hierarchical matching, separately at each hierarchical level",
      "topics": [
        "hmatch_split"
      ]
    },
    {
      "page": "hmatch_tokens",
      "title": "Hierarchical matching with tokenization of multi-term values",
      "topics": [
        "hmatch_tokens"
      ]
    },
    {
      "page": "join_types",
      "title": "Types of hierarchical joins",
      "topics": [
        "join_types"
      ]
    },
    {
      "page": "max_levels",
      "title": "Maximum hierarchical levels",
      "topics": [
        "max_levels"
      ]
    },
    {
      "page": "ne_raw",
      "title": "Raw dataset",
      "topics": [
        "ne_raw"
      ]
    },
    {
      "page": "ne_ref",
      "title": "Reference dataset",
      "topics": [
        "ne_ref"
      ]
    },
    {
      "page": "ref_expand",
      "title": "Expand a reference data.frame containing N hierarchical columns to an N-level reference data.frame",
      "topics": [
        "ref_expand"
      ]
    },
    {
      "page": "separate_hcode",
      "title": "Separate a hierarchical code reflecting multiple levels into its constituent parts, with one column for each level",
      "topics": [
        "separate_hcode"
      ]
    },
    {
      "page": "specifying_columns",
      "title": "Specifying hierarchical columns with arguments 'pattern' or 'by'",
      "topics": [
        "specifying_columns"
      ]
    },
    {
      "page": "string_standardization",
      "title": "String Standardization",
      "topics": [
        "string_standardization"
      ]
    },
    {
      "page": "string_std",
      "title": "String standardization prior to matching",
      "topics": [
        "string_std"
      ]
    }
  ],
  "_readme": "https://github.com/epicentre-msf/hmatch/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringdist",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.4393326938302624,
  "_indexed": true,
  "_nocasepkg": "hmatch",
  "_universes": [
    "epicentre-msf",
    "patrickbarks"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:56:08.000Z",
      "distro": "resolute",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/e417b24c7bbb7cc84e425bfb4a90fea4edd2371fd15b20ccb692260d37c7ca19",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:56:00.000Z",
      "distro": "resolute",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/9d9b06584976ee417d43c4367ca723ecec42bd26c63b5e0e19f5499e21155ca7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:55:49.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/145097a6a4f2320e883785dae6fcee676cbfe961b7ae9193eb1e562b17eab04a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:55:47.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/672640f4d0df92f4575090e94af003f3c64eb74c0ca771dd5be82ec9a9d89ce0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:56:13.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/337c9b36d37a17206c448f70c3f235440b34a938db69d3869738cd68cfec194f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:54:47.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/8742f54a31c069e84b2fc6fb160a87072844c9ce2bc5dece74172cd62feed93c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:57:07.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/ba876a96ded03df057fbe4622ba5c272066424e34049c35584cd1257b163750b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-26T06:57:26.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/4784ca24af24ba1675f1833efec80284f6e006c6779c5ec8ece51f945ed5fc7f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/30191718782"
    }
  ]
}