{
  "_id": "6ac9f5acfe5cc25786e8359c",
  "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-10-10 08:00:24 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/7086731f3521f575f3a2108ddea5987bd92f2d74d7b1091e820178b7be4c40f2",
  "_filesize": 151013,
  "_sha256": "7086731f3521f575f3a2108ddea5987bd92f2d74d7b1091e820178b7be4c40f2",
  "_expires": "2027-01-18T08:22:02.000Z",
  "_created": "2026-10-10T08:00:24.000Z",
  "_published": "2026-10-10T08:22:04.014Z",
  "_buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114167591240,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11663768039"
    },
    {
      "job": 114167591249,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11663983082"
    },
    {
      "job": 114167591211,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11664645040"
    },
    {
      "job": 114167591262,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11663999972"
    },
    {
      "job": 114167102055,
      "time": 167,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11663577880"
    },
    {
      "job": 114167591213,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11664442652"
    },
    {
      "job": 114167591223,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11664456655"
    },
    {
      "job": 114167591221,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11663717988"
    },
    {
      "job": 114167591279,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11663837965"
    }
  ],
  "_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": "resolute",
  "_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-10-10T08:02:16.000Z",
      "distro": "resolute",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/6d92914e676a8de76809dc4afcb03b1b71c0d5c006ed8f79ba6d7100d5bef6df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.9000",
      "date": "2026-10-10T08:02:14.000Z",
      "distro": "resolute",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/4a1ceb789cd258f2897ba29d1ff0499de4920533443f4c220a8aacdfd9cb6c32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-10-10T08:19:42.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/0e0af783cb44cb3a26cfe9ef628fa236116d3975b67d86c3d2d9e552471a3145",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.0.9000",
      "date": "2026-10-10T08:21:19.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/b5be85eec2984f5bf5538b9c423b7bea789259d7601d739810b9829daf99e1a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9000",
      "date": "2026-10-10T08:02:08.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/bac5c23def145700ddcb5d352126303f1a682e1b1b2b40dee4377355bde96a3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-10-10T08:01:30.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/69cb610e84af73945467a6399cb2d70c20e4fbaaf7e48f56a05219378569b481",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-10-10T08:01:32.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/69689a52a19e5fc554f88187d0a137d3627adacaa00ad00cda7a599988e5d102",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.0.9000",
      "date": "2026-10-10T08:01:38.000Z",
      "commit": "756c98eb867ac387d382e35ae45d872591acd148",
      "fileid": "https://r2.ropensci.org/b6ab82e016d41efc21a0b666b3cacfef6441f3a9f8d6edecd490e9c3efe2c90f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epicentre-msf/actions/runs/38036211729"
    }
  ]
}