{
  "_id": "6a102445acfb0bcc41c8db38",
  "Package": "dbc",
  "Title": "Dictionary-Based Cleaning",
  "Version": "0.0.0.9000",
  "Authors@R": "person(given = \"Patrick\",\nfamily = \"Barks\",\nrole = c(\"aut\", \"cre\"),\nemail = \"patrick.barks@epicentre.msf.org\")",
  "Description": "Tools for dictionary-based data cleaning.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Remotes": [
    "epicentre-msf/queryr"
  ],
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://epicentre-msf.r-universe.dev",
  "Date/Publication": "2026-05-13 08:46:45 UTC",
  "RemoteUrl": "https://github.com/epicentre-msf/dbc",
  "RemoteRef": "HEAD",
  "RemoteSha": "756c98eb867ac387d382e35ae45d872591acd148",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 10:03:21 UTC",
    "User": "root"
  },
  "Author": "Patrick Barks [aut, cre]",
  "Maintainer": "Patrick Barks <patrick.barks@epicentre.msf.org>",
  "MD5sum": "87456b7c037a3654ea8b3598764cbf14",
  "_user": "epicentre-msf",
  "_type": "src",
  "_file": "dbc_0.0.0.9000.tar.gz",
  "_fileid": "24e82c80f88259bf343b893690ce8cebbeda022ae9fcba58c7ef6251045bd17b",
  "_filesize": 153584,
  "_sha256": "24e82c80f88259bf343b893690ce8cebbeda022ae9fcba58c7ef6251045bd17b",
  "_created": "2026-05-13T10:03:21.000Z",
  "_published": "2026-05-22T09:39:17.674Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77354411143,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6967184484"
    },
    {
      "job": 77354411447,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967182785"
    },
    {
      "job": 77354411058,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6967265525"
    },
    {
      "job": 77354411162,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967267686"
    },
    {
      "job": 77354410661,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967136326"
    },
    {
      "job": 77354410633,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157461542"
    },
    {
      "job": 77354410896,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6967172655"
    },
    {
      "job": 77354411197,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6967164753"
    },
    {
      "job": 77354411137,
      "time": 124,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6967180518"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/epicentre-msf/dbc",
  "_commit": {
    "id": "756c98eb867ac387d382e35ae45d872591acd148",
    "author": "Patrick Barks <patrick.barks@gmail.com>",
    "committer": "Patrick Barks <patrick.barks@gmail.com>",
    "message": "ignore stuff\n",
    "time": 1778662005
  },
  "_maintainer": {
    "name": "Patrick Barks",
    "email": "patrick.barks@epicentre.msf.org",
    "login": "patrickbarks",
    "uuid": 12620847
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "queryr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "epicentre-msf",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 3
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "patrickbarks",
      "count": 32,
      "uuid": 12620847
    }
  ],
  "_userbio": {
    "uuid": 19820047,
    "type": "organization",
    "name": "Epicentre MSF"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dbc"
  },
  "_devurl": "https://github.com/epicentre-msf/dbc",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dbc.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "check_categorical",
    "check_dates",
    "check_numeric",
    "clean_categorical",
    "clean_dates",
    "clean_numeric",
    "parse_dates",
    "std_text"
  ],
  "_datasets": [
    {
      "name": "clean_categ1",
      "title": "A cleaning dictionary for categorical variables in example dataset 'll1'",
      "object": "clean_categ1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "variable",
        "value",
        "replacement",
        "new"
      ],
      "rows": 7,
      "table": true,
      "tojson": true
    },
    {
      "name": "clean_dates1",
      "title": "A cleaning dictionary for categorical variables in example dataset 'll1'",
      "object": "clean_dates1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "variable",
        "value",
        "date",
        "replacement",
        "query"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "clean_num1",
      "title": "A cleaning dictionary for numeric variables in example dataset 'll1'",
      "object": "clean_num1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "variable",
        "value",
        "replacement",
        "new"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "dict_categ1",
      "title": "A dictionary of allowed values for categorical variables in example dataset 'll1'",
      "object": "dict_categ1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "variable",
        "value"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "ll1",
      "title": "An example messy dataset to clean",
      "object": "ll1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "age",
        "age_unit",
        "sex",
        "status",
        "contacts",
        "date_onset",
        "date_admit",
        "date_exit",
        "exit_status"
      ],
      "rows": 7,
      "table": true,
      "tojson": true
    },
    {
      "name": "ll2",
      "title": "An example messy dataset to clean, an extension of 'll1'",
      "object": "ll2",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "age",
        "age_unit",
        "sex",
        "status",
        "contacts",
        "date_onset",
        "date_admit",
        "date_exit",
        "exit_status"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "check_categorical",
      "title": "Produce a dictionary of non-valid categorical values within a dataset, for use in subsequent data cleaning",
      "topics": [
        "check_categorical"
      ]
    },
    {
      "page": "check_dates",
      "title": "Produce a dictionary of non-valid date values within a dataset, for use in subsequent data cleaning",
      "topics": [
        "check_dates"
      ]
    },
    {
      "page": "check_numeric",
      "title": "Produce a dictionary of non-valid numeric values within a dataset, for use in subsequent data cleaning",
      "topics": [
        "check_numeric"
      ]
    },
    {
      "page": "clean_categ1",
      "title": "A cleaning dictionary for categorical variables in example dataset 'll1'",
      "topics": [
        "clean_categ1"
      ]
    },
    {
      "page": "clean_categorical",
      "title": "Clean categorical variables within a dataset based on a dictionary of value-replacement pairs",
      "topics": [
        "clean_categorical"
      ]
    },
    {
      "page": "clean_dates",
      "title": "Clean date variables within a dataset based on a dictionary of value-replacement pairs",
      "topics": [
        "clean_dates"
      ]
    },
    {
      "page": "clean_dates1",
      "title": "A cleaning dictionary for categorical variables in example dataset 'll1'",
      "topics": [
        "clean_dates1"
      ]
    },
    {
      "page": "clean_num1",
      "title": "A cleaning dictionary for numeric variables in example dataset 'll1'",
      "topics": [
        "clean_num1"
      ]
    },
    {
      "page": "clean_numeric",
      "title": "Clean numeric variables within a dataset based on a dictionary of value-replacement pairs",
      "topics": [
        "clean_numeric"
      ]
    },
    {
      "page": "dict_categ1",
      "title": "A dictionary of allowed values for categorical variables in example dataset 'll1'",
      "topics": [
        "dict_categ1"
      ]
    },
    {
      "page": "ll1",
      "title": "An example messy dataset to clean",
      "topics": [
        "ll1"
      ]
    },
    {
      "page": "ll2",
      "title": "An example messy dataset to clean, an extension of 'll1'",
      "topics": [
        "ll2"
      ]
    },
    {
      "page": "parse_dates",
      "title": "Parse dates",
      "topics": [
        "parse_dates"
      ]
    },
    {
      "page": "std_text",
      "title": "Standardize text prior to matching to account for minor variation in character case, spacing, punctuation, or use of accents",
      "topics": [
        "std_text"
      ]
    }
  ],
  "_readme": "https://github.com/epicentre-msf/dbc/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "janitor",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "queryr",
    "R6",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.255272505103306,
  "_indexed": true,
  "_nocasepkg": "dbc",
  "_universes": [
    "epicentre-msf",
    "patrickbarks"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-05-13T10:05:28.000Z",
      "distro": "noble",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "2d241b012f66168230aaea5201da5633d448d586040dbd18a9904db0df376f00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-05-13T10:05:25.000Z",
      "distro": "noble",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "5f1444c1b85c375e65c2ecb7dcd0f6457c8a4171320333f6c87cd16ca5052588",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-05-13T10:09:36.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "be606af289facca16931334c213eefd600f61f58966d5308d2f9c5ab40dc01fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-05-13T10:09:42.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "332cc968d1ec02374ed8af88c3270ce41e0b5694cf5df3186797bb75b1fb966d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-05-13T10:04:49.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "b83e22da7a458f2244ccf6895af0f21e2fa398b80af84cbc9b134586c9cacd15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-05-13T10:04:28.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "86183a3456da149fe58b01072ae4b2b30e9813be383642c36932fccabf647de8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-05-13T10:05:06.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "464cd2f1bc8a28c76e20b2b3afd91487276ffed2e952388155dbb78ca2066fe3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9000",
      "date": "2026-05-22T09:38:58.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "5aed7cb96a070b7ec5feb42fb91422ff42761fc79a6c89b3225e4a0e2db75889",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/25792042151"
    }
  ]
}