{
  "_id": "6adc6c2558000136b5c837e2",
  "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-10-24 08:25:31 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/9770806ad8c75e34c6b3c7d79b9756ab0a9c52d826aca1b72e06ff97cf3287cf",
  "_filesize": 223080,
  "_sha256": "9770806ad8c75e34c6b3c7d79b9756ab0a9c52d826aca1b72e06ff97cf3287cf",
  "_expires": "2027-02-01T08:28:19.000Z",
  "_created": "2026-10-24T08:25:31.000Z",
  "_published": "2026-10-24T08:28:21.219Z",
  "_upstream": "https://github.com/epicentre-msf/hmatch",
  "_status": "success",
  "_maintainer": {
    "name": "Patrick Barks",
    "email": "patrick.barks@epicentre.msf.org",
    "login": "patrickbarks",
    "description": "",
    "uuid": 12620847,
    "orcid": "0000-0002-5947-8151"
  },
  "_jobs": [
    {
      "job": 120825465333,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12553634870"
    },
    {
      "job": 120825465283,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12554505381"
    },
    {
      "job": 120825465178,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12554340976"
    },
    {
      "job": 120825465206,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12553628223"
    },
    {
      "job": 120824811664,
      "time": 198,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12553049343"
    },
    {
      "job": 120825465265,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12554216367"
    },
    {
      "job": 120825465338,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12554290538"
    },
    {
      "job": 120825465302,
      "time": 82,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12553878164"
    },
    {
      "job": 120825465256,
      "time": 83,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12553569763"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225",
  "_commit": {
    "id": "1a57862a84e18711163fdc11b100ad1e60f2f491",
    "author": "patrickbarks <patrick.barks@gmail.com>",
    "committer": "patrickbarks <patrick.barks@gmail.com>",
    "message": "update gh workflows\n",
    "time": 1699637897
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 45
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hmatch"
  },
  "_devurl": "https://github.com/epicentre-msf/hmatch",
  "_searchresults": 27,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hmatch.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.4727564493172123,
  "_indexed": true,
  "_nocasepkg": "hmatch",
  "_universes": [
    "epicentre-msf",
    "patrickbarks"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:27:32.000Z",
      "distro": "resolute",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/4e272ccff52b4cf497233bc68aa8fd75a60f26bc089dafea3381e70a4467b367",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:27:41.000Z",
      "distro": "resolute",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/436858421df71c26d36e96f2f92a7a70db92a276a99f5f1f0b353624b8df3f26",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:27:15.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/2452dc3056697468cfc8051061756038695f91be281fb7da305e41535e4f5c91",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:27:42.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/0e5177dbe3b6b0b594c722372fcfa99069434fd9cf0719d2beb28ba109b5a9d9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:27:33.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/5c6dc0d7e922084301d8c3ceee755eea7b08ae5b3d92099f6ee8ffd989ac45a3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:26:44.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/1f861b24b27a23fbbb9408ba35a220018b1ff539c1d6c736b526e46ffb0db658",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:26:48.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/32c6e429af0f6c07fd72166c3d249ac22aa694642cc46ee284960219996504a2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-24T08:26:45.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/a058f87fe4a7cc3fd966711a7caf083b4bfa72f535fd1b071bec2e4e78729316",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/40077766225"
    }
  ]
}