{
  "_id": "6ab4e7de3d719c1f8409727f",
  "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-09-24 09:02:24 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/5ff89dc464e8cfdbd75a7fb101113cb5448cce8d01d70e2594c625b7d5d37ca9",
  "_filesize": 225038,
  "_sha256": "5ff89dc464e8cfdbd75a7fb101113cb5448cce8d01d70e2594c625b7d5d37ca9",
  "_expires": "2027-01-02T09:05:32.000Z",
  "_created": "2026-09-24T09:02:24.000Z",
  "_published": "2026-09-24T09:05:34.054Z",
  "_jobs": [
    {
      "job": 107565630006,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10799263255"
    },
    {
      "job": 107565630112,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10799516821"
    },
    {
      "job": 107565630014,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10799416490"
    },
    {
      "job": 107565630076,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10798897765"
    },
    {
      "job": 107564456447,
      "time": 191,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10798384162"
    },
    {
      "job": 107565630089,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10798803165"
    },
    {
      "job": 107565630124,
      "time": 89,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10799227045"
    },
    {
      "job": 107565630117,
      "time": 103,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10799556219"
    },
    {
      "job": 107565630062,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10798808098"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445",
  "_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": 44
  },
  "_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-09-24T09:04:42.000Z",
      "distro": "resolute",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/3a76a6fdcf67a1a8feed2e31b84b4a2be518de5853eded2d11344508781e547f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-09-24T09:04:45.000Z",
      "distro": "resolute",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/00023c32f7733a10a171ee6cb5a55d8cf48fad1316080579ea6275e8e5f580a9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-09-24T09:04:19.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/eacb8b1fdc9c5f71e5c6a8af4ad393bbcb0a5f9754f7dd539aae47979b514709",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-09-24T09:03:53.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/5bb744a16070a9fd09d3cb0320e4f47569d0e875f1c06790852080afa36067d4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-09-24T09:04:36.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/0c9e694a77c4948c5a3e2d60f61b622878aec34e4b8a4c77b46d3f3ec38e9c9c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-09-24T09:03:48.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/ba8401a55f768e91ffdb645d79d55ce67ac468d06c09030a66e6b17f32042739",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-09-24T09:03:48.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/002e077a7347e7b5d8e398cd9e0156b22f234bf0ef4a6e25c96fb88c920a6664",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-09-24T09:03:36.000Z",
      "commit": "1a57862a84e18711163fdc11b100ad1e60f2f491",
      "fileid": "https://r2.ropensci.org/7f5b6c1c4fe3797611e4e366143ccc1c4919716bfe89176c2ab237a9224dbff6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/35978439445"
    }
  ]
}