{
  "_id": "6a10181aacfb0bcc41c85455",
  "Package": "nbc4va",
  "Type": "Package",
  "Title": "Bayes Classifier for Verbal Autopsy Data",
  "Version": "1.2",
  "Date": "2022-04-25",
  "Authors@R": "c(\nperson(given = \"Richard\", family = \"Wen\", email = \"rrwen.dev@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(given = \"Pierre\", family = \"Miasnikof\", role = \"ctb\"),\nperson(given = \"Vasily\", family = \"Giannakeas\", role = \"ctb\"),\nperson(given = \"Mireille\", family = \"Gomes\", role = \"ctb\"))",
  "Maintainer": "Richard Wen <rrwen.dev@gmail.com>",
  "Description": "An implementation of the Naive Bayes Classifier (NBC)\nalgorithm used for Verbal Autopsy (VA) built on code from\nMiasnikof et al (2015) <DOI:10.1186/s12916-015-0521-2>.",
  "License": "GPL-3",
  "LazyData": "TRUE",
  "RoxygenNote": "7.1.2",
  "Collate": "'nbc4va.R' 'nbc4va_data.R' 'nbc4va_validation.R'\n'nbc4va_internal.R' 'nbc4va_main.R' 'nbc4va_extra.R'\n'nbc4va_utility.R' 'nbc4va_wrapper.R'",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://rrwen.r-universe.dev",
  "Date/Publication": "2025-09-16 02:12:50 UTC",
  "RemoteUrl": "https://github.com/rrwen/nbc4va",
  "RemoteRef": "HEAD",
  "RemoteSha": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 05:44:22 UTC",
    "User": "root"
  },
  "Author": "Richard Wen [aut, cre],\nPierre Miasnikof [ctb],\nVasily Giannakeas [ctb],\nMireille Gomes [ctb]",
  "MD5sum": "8a714aceb7123871cb51dc1f00b8820c",
  "_user": "rrwen",
  "_type": "src",
  "_file": "nbc4va_1.2.tar.gz",
  "_fileid": "e675313ed4b962f6ca795d78ab1f6504d212c2709411265d4bf85c9e434ac0bd",
  "_filesize": 707928,
  "_sha256": "e675313ed4b962f6ca795d78ab1f6504d212c2709411265d4bf85c9e434ac0bd",
  "_created": "2026-05-14T05:44:22.000Z",
  "_published": "2026-05-24T10:28:29.715Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77346492749,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988019249"
    },
    {
      "job": 77346492492,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988016576"
    },
    {
      "job": 77346492781,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988010282"
    },
    {
      "job": 77346492362,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7010750019"
    },
    {
      "job": 77346492007,
      "time": 179,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987990092"
    },
    {
      "job": 77346492135,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156490955"
    },
    {
      "job": 77346492788,
      "time": 84,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6988007264"
    },
    {
      "job": 77346493241,
      "time": 71,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6988004818"
    },
    {
      "job": 77346492386,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988004405"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rrwen/nbc4va",
  "_commit": {
    "id": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
    "author": "Richard Wen <rrwen.dev@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1757988770
  },
  "_maintainer": {
    "name": "Richard Wen",
    "email": "rrwen.dev@gmail.com",
    "login": "rrwen",
    "linkedin": "in/richardwen",
    "twitter": "@rrw3n",
    "uuid": 4625410
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "openVA",
      "role": "Enhances"
    }
  ],
  "_owner": "rrwen",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 12
    }
  ],
  "_tags": [],
  "_topics": [
    "autopsy",
    "bayes",
    "cause",
    "classifier",
    "coded",
    "computer",
    "death",
    "estimate",
    "imputation",
    "learning",
    "machine",
    "mds",
    "million",
    "naive",
    "nbc",
    "probability",
    "study",
    "theory",
    "va",
    "verbal"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rrwen",
      "count": 28,
      "uuid": 4625410
    }
  ],
  "_userbio": {
    "uuid": 4625410,
    "type": "user",
    "name": "Richard Wen",
    "description": "Data Scientist @cghr-toronto"
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nbc4va"
  },
  "_devurl": "https://github.com/rrwen/nbc4va",
  "_searchresults": 87,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nbc4va.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rrwen/nbc4va",
  "_realowner": "rrwen",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2016-07-11"
    },
    {
      "version": "1.1",
      "date": "2018-08-05"
    },
    {
      "version": "1.2",
      "date": "2022-05-10"
    }
  ],
  "_exports": [
    "csmf.nbc",
    "internalCheckNBC",
    "internalCheckNBCSummary",
    "internalGetCauseMetrics",
    "internalGetCSMFAcc",
    "internalGetCSMFMaxError",
    "internalGetMetrics",
    "internalNBC",
    "internalRoundFixedSum",
    "internalSubAsRest",
    "nbc",
    "nbc4vaGUI",
    "nbc4vaIO",
    "ova2nbc",
    "topCOD.nbc"
  ],
  "_datasets": [
    {
      "name": "nbc4vaData",
      "title": "Example of clean data in nbc4va",
      "object": "nbc4vaData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "cause",
        "symptom1",
        "symptom2",
        "symptom3",
        "symptom4",
        "symptom5",
        "symptom6",
        "symptom7",
        "symptom8",
        "symptom9",
        "symptom10",
        "symptom11",
        "symptom12",
        "symptom13",
        "symptom14",
        "symptom15",
        "symptom16",
        "symptom17",
        "symptom18",
        "symptom19",
        "symptom20",
        "symptom21",
        "symptom22",
        "symptom23",
        "symptom24",
        "symptom25",
        "symptom26",
        "symptom27",
        "symptom28",
        "symptom29",
        "symptom30",
        "symptom31",
        "symptom32",
        "symptom33",
        "symptom34",
        "symptom35",
        "symptom36",
        "symptom37",
        "symptom38",
        "symptom39",
        "symptom40",
        "symptom41",
        "symptom42",
        "symptom43",
        "symptom44",
        "symptom45",
        "symptom46",
        "symptom47",
        "symptom48",
        "symptom49",
        "symptom50",
        "symptom51",
        "symptom52",
        "symptom53",
        "symptom54",
        "symptom55",
        "symptom56",
        "symptom57",
        "symptom58",
        "symptom59",
        "symptom60",
        "symptom61",
        "symptom62",
        "symptom63",
        "symptom64",
        "symptom65",
        "symptom66",
        "symptom67",
        "symptom68",
        "symptom69",
        "symptom70",
        "symptom71",
        "symptom72",
        "symptom73",
        "symptom74",
        "symptom75",
        "symptom76",
        "symptom77",
        "symptom78",
        "symptom79",
        "symptom80",
        "symptom81",
        "symptom82",
        "symptom83",
        "symptom84",
        "symptom85",
        "symptom86",
        "symptom87",
        "symptom88",
        "symptom89",
        "symptom90",
        "symptom91",
        "symptom92",
        "symptom93",
        "symptom94",
        "symptom95",
        "symptom96",
        "symptom97",
        "symptom98",
        "symptom99",
        "symptom100"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "nbc4vaDataRaw",
      "title": "Example of unclean data in nbc4va",
      "object": "nbc4vaDataRaw",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "cause",
        "symptom1",
        "symptom2",
        "symptom3",
        "symptom4",
        "symptom5",
        "symptom6",
        "symptom7",
        "symptom8",
        "symptom9",
        "symptom10",
        "symptom11",
        "symptom12",
        "symptom13",
        "symptom14",
        "symptom15",
        "symptom16",
        "symptom17",
        "symptom18",
        "symptom19",
        "symptom20",
        "symptom21",
        "symptom22",
        "symptom23",
        "symptom24",
        "symptom25",
        "symptom26",
        "symptom27",
        "symptom28",
        "symptom29",
        "symptom30",
        "symptom31",
        "symptom32",
        "symptom33",
        "symptom34",
        "symptom35",
        "symptom36",
        "symptom37",
        "symptom38",
        "symptom39",
        "symptom40",
        "symptom41",
        "symptom42",
        "symptom43",
        "symptom44",
        "symptom45",
        "symptom46",
        "symptom47",
        "symptom48",
        "symptom49",
        "symptom50",
        "symptom51",
        "symptom52",
        "symptom53",
        "symptom54",
        "symptom55",
        "symptom56",
        "symptom57",
        "symptom58",
        "symptom59",
        "symptom60",
        "symptom61",
        "symptom62",
        "symptom63",
        "symptom64",
        "symptom65",
        "symptom66",
        "symptom67",
        "symptom68",
        "symptom69",
        "symptom70",
        "symptom71",
        "symptom72",
        "symptom73",
        "symptom74",
        "symptom75",
        "symptom76",
        "symptom77",
        "symptom78",
        "symptom79",
        "symptom80",
        "symptom81",
        "symptom82",
        "symptom83",
        "symptom84",
        "symptom85",
        "symptom86",
        "symptom87",
        "symptom88",
        "symptom89",
        "symptom90",
        "symptom91",
        "symptom92",
        "symptom93",
        "symptom94",
        "symptom95",
        "symptom96",
        "symptom97",
        "symptom98",
        "symptom99",
        "symptom100"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "csmf.nbc",
      "title": "Calculate predicted CSMFs from a NBC model",
      "concept": [
        "wrapper functions"
      ],
      "topics": [
        "csmf.nbc"
      ]
    },
    {
      "page": "nbc",
      "title": "Train a NBC model",
      "concept": [
        "main functions"
      ],
      "topics": [
        "nbc"
      ]
    },
    {
      "page": "nbc4va",
      "title": "nbc4va: Bayes Classifier for Verbal Autopsy Data",
      "topics": [
        "nbc4va"
      ]
    },
    {
      "page": "nbc4vaData",
      "title": "Example of clean data in nbc4va",
      "topics": [
        "nbc4vaData"
      ]
    },
    {
      "page": "nbc4vaDataRaw",
      "title": "Example of unclean data in nbc4va",
      "topics": [
        "nbc4vaDataRaw"
      ]
    },
    {
      "page": "nbc4vaGUI",
      "title": "Web-based graphical user interface in nbc4va",
      "concept": [
        "utility functions"
      ],
      "topics": [
        "nbc4vaGUI"
      ]
    },
    {
      "page": "nbc4vaIO",
      "title": "Run nbc4va using file input and output",
      "concept": [
        "utility functions"
      ],
      "topics": [
        "nbc4vaIO"
      ]
    },
    {
      "page": "ova2nbc",
      "title": "Translate open verbal autopsy arguments to train a NBC model",
      "concept": [
        "extra functions"
      ],
      "topics": [
        "ova2nbc"
      ]
    },
    {
      "page": "plot.nbc",
      "title": "Bar plot of top predicted causes from a NBC model",
      "concept": [
        "main functions"
      ],
      "topics": [
        "plot.nbc"
      ]
    },
    {
      "page": "print.nbc_summary",
      "title": "Print top predicted causes from a NBC model",
      "concept": [
        "main functions"
      ],
      "topics": [
        "print.nbc_summary"
      ]
    },
    {
      "page": "summary.nbc",
      "title": "Summarize a NBC model with metrics",
      "concept": [
        "main functions"
      ],
      "topics": [
        "summary.nbc"
      ]
    },
    {
      "page": "topCOD.nbc",
      "title": "Cause of death predictions from a NBC model",
      "concept": [
        "wrapper functions"
      ],
      "topics": [
        "topCOD.nbc"
      ]
    }
  ],
  "_pkglogo": "https://github.com/rrwen/nbc4va/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rrwen/nbc4va/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "digest",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "htmltools",
    "httpuv",
    "jquerylib",
    "jsonlite",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "sass",
    "shiny",
    "sourcetools",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "nbc4vavignette.Rmd",
      "filename": "nbc4vavignette.html",
      "title": "nbc4va",
      "author": "Richard Wen rrwen.dev@gmail.com",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Acknowledgements",
        "Quick Start",
        "Background Knowledge",
        "Using the Package",
        "Getting Help",
        "Issues, Bugs, and Fixes",
        "Citing this Package",
        "Basic Usage",
        "User Interface",
        "Example of GUI",
        "Sample Code for GUI",
        "References for GUI",
        "File Input and Output",
        "Example of File Input and Output",
        "Sample Code for File Input and Output",
        "References for File Input and Output",
        "Advanced Usage",
        "Training a NBC Model",
        "References for Training a NBC Model",
        "Evaluating a NBC Model",
        "References for Evaluating a NBC Model",
        "Plotting the Top Predicted Causes",
        "Example of Plotting the Top Predicted Causes",
        "References for Plotting the Top Predicted Causes",
        "Functions",
        "Utility Functions",
        "Main Functions",
        "Wrapper Functions",
        "Extra User Functions",
        "Data",
        "Training and Testing Data",
        "Format of Data",
        "Examples of Data",
        "Symptom Imputation Example",
        "Sample Code for Data",
        "Methods",
        "Naive Bayes Classifier",
        "Terms for Data",
        "Terms for Metrics",
        "Calculation of Metrics at the Individual Level",
        "Calculation of Metrics at the Population Level",
        "References for Methods",
        "Developer Notes",
        "Internal Functions",
        "External Functions",
        "Extra Functions"
      ],
      "created": "2018-07-26 23:15:14",
      "modified": "2022-04-27 22:41:24",
      "commits": 7
    }
  ],
  "_score": 4.638489256954637,
  "_indexed": true,
  "_nocasepkg": "nbc4va",
  "_universes": [
    "rrwen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-14T05:46:46.000Z",
      "distro": "noble",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "f81877a03907a3733f20ee3c56d43fb69186f5269a32a98490e81f914b14405f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-14T05:46:33.000Z",
      "distro": "noble",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "5105444b5174b720fcf974e5f82a863e0b7a26f00601c9036a0d690bd1b5c319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-14T05:45:59.000Z",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "634a3d8f12849a1d4a190e69af6ad0f53866644d45eb06f654b8beff03ad82ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-15T05:33:24.000Z",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "8ab2f427618e6f2c763bc6d6612b350961f5c5b2d2673689cc1a033e1223e802",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-14T05:45:42.000Z",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "6cc713e6cbbbbbb956669b71d9a49964842d04034da1de5674b959711349a792",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-14T05:45:30.000Z",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "f26d0e4c42052d92b42de025c9aabd20c36bf434c24127ea86a619567393bccf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-14T05:45:28.000Z",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "61d37b3095b950efe81403965d9453d4dd12d23823dcab6380900d61de491810",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-05-22T08:47:06.000Z",
      "commit": "2e25fd0a47bdd2bff22e69bdf61fe0a0393fb663",
      "fileid": "3ebca851257e9a334310ba7fe8b39a709ff74118aa19643cbf5010cb791edd16",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rrwen/actions/runs/25843976735"
    }
  ]
}