{
  "_id": "6ae6fc4e2e87f76f20acc4c3",
  "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-11-01 08:35:13 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/c32ceaf3018f015951493ef419ee0731917d4309c3de6e1e1cf42701c65a76e1",
  "_filesize": 151035,
  "_sha256": "c32ceaf3018f015951493ef419ee0731917d4309c3de6e1e1cf42701c65a76e1",
  "_expires": "2027-02-09T08:46:04.000Z",
  "_created": "2026-11-01T08:35:13.000Z",
  "_published": "2026-11-01T08:46:06.563Z",
  "_upstream": "https://github.com/epicentre-msf/dbc",
  "_status": "success",
  "_maintainer": {
    "name": "Patrick Barks",
    "email": "patrick.barks@epicentre.msf.org",
    "login": "patrickbarks",
    "description": "",
    "uuid": 12620847
  },
  "_jobs": [
    {
      "job": 124797619427,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13076443399"
    },
    {
      "job": 124797619382,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13076527856"
    },
    {
      "job": 124797619421,
      "time": 133,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13076518411"
    },
    {
      "job": 124797619439,
      "time": 208,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13077205813"
    },
    {
      "job": 124797024896,
      "time": 170,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13076940575"
    },
    {
      "job": 124797619379,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13076054707"
    },
    {
      "job": 124797619407,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13076398605"
    },
    {
      "job": 124797619409,
      "time": 65,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13076687080"
    },
    {
      "job": 124797619398,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13077095260"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565",
  "_commit": {
    "id": "756c98eb867ac387d382e35ae45d872591acd148",
    "author": "Patrick Barks <patrick.barks@gmail.com>",
    "committer": "Patrick Barks <patrick.barks@gmail.com>",
    "message": "ignore stuff\n",
    "time": 1778662005
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 45
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dbc"
  },
  "_devurl": "https://github.com/epicentre-msf/dbc",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dbc.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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-11-01T08:37:47.000Z",
      "distro": "resolute",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/57897e357acc55531f05a0bd98ab20c79dbb0071062bee312f1dc5c49183d0cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-11-01T08:37:02.000Z",
      "distro": "resolute",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/6862b65553f3543168eb3015d68832084427f5027025c78d0f1cd93d7592ab81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-11-01T08:41:07.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/5649e85bab6585be2640a3181a48450ca172e2acd89457d79c3c6594e3a168c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-11-01T08:44:26.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/10deab18d6b2a6250c01384283287f84d870cd557a87052772a94d118aad7378",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9000",
      "date": "2026-11-01T08:36:55.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/08398671cf831d6a03b3bfc70b5f86b23709a9ae8cc9eddfe0fb96fad31bfe0d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-11-01T08:36:18.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/64ed07a7e357fa0a1a7231f33cd79574ad6683500d8973717d6eb0de6bef2a5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-11-01T08:36:11.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/b002fe2933940f9a36410b1e061817bf49ed93a14f20c03965dbeb309292426c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-11-01T08:36:22.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/01c1ea0cb06d2ee267a47ad49b1dab35f043b748fc8eb7c1903e5f03eee95425",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/41289278565"
    }
  ]
}