{
  "_id": "6a49f6008408e3d40c0b3cab",
  "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-06-12 06:39:30 UTC",
    "User": "root"
  },
  "Author": "Patrick Barks [aut, cre]",
  "Maintainer": "Patrick Barks <patrick.barks@epicentre.msf.org>",
  "_user": "epicentre-msf",
  "_type": "src",
  "_file": "dbc_0.0.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/69dd2dd86c4bcac0ec13bdab3a558155af5ce799c4027729baf3ea7d56480ff1",
  "_filesize": 153884,
  "_sha256": "69dd2dd86c4bcac0ec13bdab3a558155af5ce799c4027729baf3ea7d56480ff1",
  "_expires": "2026-10-13T06:13:18.000Z",
  "_created": "2026-06-12T06:39:30.000Z",
  "_published": "2026-07-05T06:13:20.004Z",
  "_jobs": [
    {
      "job": 85198318187,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7584837339"
    },
    {
      "job": 85198318417,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7584837087"
    },
    {
      "job": 85198318141,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7584826353"
    },
    {
      "job": 85198318090,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7584824130"
    },
    {
      "job": 85198318155,
      "time": 172,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7584792444"
    },
    {
      "job": 85198318127,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7584820165"
    },
    {
      "job": 85198318165,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7584815628"
    },
    {
      "job": 85198318184,
      "time": 72,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7584813326"
    },
    {
      "job": 85198318316,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7584820027"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 12620847
  },
  "_distro": "noble",
  "_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": 9,
  "_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",
    "LICENSE",
    "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-06-12T06:42:08.000Z",
      "distro": "noble",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/79f311b5fbea4f4617589d4910c95ff37ebf512a2964b235512349a4cd07eef5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-06-12T06:42:08.000Z",
      "distro": "noble",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/4bc7ce0171763da2e672382b812101f9e710d886c4a336576e879fd0f3406fa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-06-12T06:41:30.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/100ed6275c2233e9ed3e88e0ec81a6efb36ef609f1bfecc9be41a6bde4e1da5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-06-12T06:41:22.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/5099111c415f2ef3c6555d0d3d143d2ae84ab94d1deea3ff4efde3bb81026ed1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9000",
      "date": "2026-06-12T06:41:29.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/2e9a661eff8039f3004436c23e01b8d82d3611247610db9c915aa9a4ef210f60",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-06-12T06:40:43.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/c128bf958500f8d5a6abf93a39e672db4804e019513beab96df09b72df67ef85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-06-12T06:40:36.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/68a348b2a18494f1f00a3a005355d70e01080a287d0b2be436792032f2951cdf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-06-12T06:40:57.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/144abeea6c3cbc822c7b3392668a75334b2834f28ed1704858ad6c44f0ddd8c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/27399163545"
    }
  ]
}