{
  "_id": "6a2687dd794753ddbc3f278b",
  "Package": "pvda",
  "Type": "Package",
  "Title": "Disproportionality Functions for Pharmacovigilance",
  "Version": "0.0.4",
  "Authors@R": "c(person(\"Oskar\", \"Gauffin\", email = \"oskar.gauffin@hotmail.com\",\nrole = c(\"aut\"), comment = c(ORCID = \"0000-0003-1593-356X\")),\nperson(\"Michele\", \"Fusaroli\", email = \"michele.fusaroli@who-umc.org\",\nrole = c(\"cre\"), comment = c(ORCID = \"0000-0002-0254-2212\")))",
  "Description": "Tools for performing disproportionality analysis using the\ninformation component, proportional reporting rate and the\nreporting odds ratio. The anticipated use is passing data to\nthe da() function, which executes the disproportionality\nanalysis. See Norén et al (2011) <doi:10.1177/0962280211403604>\nand Montastruc et al (2011)\n<doi:10.1111/j.1365-2125.2011.04037.x> for further details.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "BuildVignettes": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "URL": "https://oskargauffin.github.io/pvda/",
  "BugReports": "https://github.com/OskarGauffin/pvda/issues",
  "RdMacros": "Rdpack",
  "Repository": "https://fusarolimichele.r-universe.dev",
  "Date/Publication": "2025-01-16 07:24:07 UTC",
  "RemoteUrl": "https://github.com/fusarolimichele/pvda",
  "RemoteRef": "HEAD",
  "RemoteSha": "b2362872f0bae072bec5724fa03ef68a82494ebd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 09:11:12 UTC",
    "User": "root"
  },
  "Author": "Oskar Gauffin [aut] (ORCID: <https://orcid.org/0000-0003-1593-356X>),\nMichele Fusaroli [cre] (ORCID: <https://orcid.org/0000-0002-0254-2212>)",
  "Maintainer": "Michele Fusaroli <michele.fusaroli@who-umc.org>",
  "MD5sum": "61c8895b643c8b0bd0f959d1b6bbfb1d",
  "_user": "fusarolimichele",
  "_type": "src",
  "_file": "pvda_0.0.4.tar.gz",
  "_fileid": "6c94e8880a1a14b4938dfc031e996d5ac959c9d2708e4c6c355e679962ac1071",
  "_filesize": 628099,
  "_sha256": "6c94e8880a1a14b4938dfc031e996d5ac959c9d2708e4c6c355e679962ac1071",
  "_created": "2026-06-08T09:11:12.000Z",
  "_published": "2026-06-08T09:14:05.287Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80059825316,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7475984195"
    },
    {
      "job": 80059825503,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475980673"
    },
    {
      "job": 80059825289,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7475975432"
    },
    {
      "job": 80059825257,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475971757"
    },
    {
      "job": 80059295921,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475932572"
    },
    {
      "job": 80059825344,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475967273"
    },
    {
      "job": 80059825339,
      "time": 88,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7475966440"
    },
    {
      "job": 80059825273,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7475971598"
    },
    {
      "job": 80059825462,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475967717"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/fusarolimichele/pvda",
  "_commit": {
    "id": "b2362872f0bae072bec5724fa03ef68a82494ebd",
    "author": "Oskar Gauffin <Oskar.Gauffin@who-umc.org>",
    "committer": "Oskar Gauffin <Oskar.Gauffin@who-umc.org>",
    "message": "Wrapped two examples in dont-test to pass CRAN tests\n",
    "time": 1737012247
  },
  "_maintainer": {
    "name": "Michele Fusaroli",
    "email": "michele.fusaroli@who-umc.org",
    "login": "fusarolimichele",
    "linkedin": "in/michele-fusaroli-87223a81",
    "twitter": "@FusaroliMichele",
    "description": "",
    "uuid": 46229870,
    "orcid": "0000-0002-0254-2212"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.3",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.14.6",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.10",
      "role": "Imports"
    },
    {
      "package": "dtplyr",
      "version": ">= 1.2.2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "version": ">= 1.6.2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.5",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "version": ">= 2.4",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "stats",
      "version": ">= 4.1.3",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.1.8",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "version": ">= 4.1.3",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.43",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.24",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.10",
      "role": "Suggests"
    },
    {
      "package": "writexl",
      "version": ">= 1.4.2",
      "role": "Suggests"
    }
  ],
  "_owner": "fusarolimichele",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "oskargauffin",
      "count": 132,
      "uuid": 7349924
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 46229870,
    "type": "user",
    "name": "Michele Fusaroli"
  },
  "_downloads": {
    "count": 156,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pvda"
  },
  "_devurl": "https://github.com/oskargauffin/pvda",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pvda.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fusarolimichele/pvda",
  "_realowner": "fusarolimichele",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2024-01-17"
    },
    {
      "version": "0.0.2",
      "date": "2024-01-18"
    },
    {
      "version": "0.0.3",
      "date": "2024-03-01"
    },
    {
      "version": "0.0.4",
      "date": "2025-01-17"
    }
  ],
  "_exports": [
    "add_disproportionality",
    "add_expected_counts",
    "ci_for_ic",
    "ci_for_prr",
    "ci_for_ror",
    "conf_lvl_to_quantile_prob",
    "da",
    "ic",
    "prr",
    "ror",
    "write_to_excel"
  ],
  "_datasets": [
    {
      "name": "drug_event_df",
      "title": "A simulated ICSR database",
      "object": "drug_event_df",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "report_id",
        "drug",
        "event",
        "group"
      ],
      "rows": 4475,
      "table": true,
      "tojson": true
    },
    {
      "name": "tiny_dataset",
      "title": "A 110 reports big, simulated ICSR database",
      "object": "tiny_dataset",
      "class": [
        "data.frame"
      ],
      "fields": [
        "report_id",
        "drug",
        "event",
        "group"
      ],
      "rows": 110,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_disproportionality",
      "title": "Add disproportionality estimates to data frame with expected counts",
      "topics": [
        "add_disproportionality"
      ]
    },
    {
      "page": "add_expected_counts",
      "title": "Produces expected counts",
      "topics": [
        "add_expected_counts"
      ]
    },
    {
      "page": "apply_rule_of_N",
      "title": "apply_rule_of_N",
      "topics": [
        "apply_rule_of_N"
      ]
    },
    {
      "page": "build_colnames_da",
      "title": "An internal function creating colnames for da confidence/credibility bounds",
      "topics": [
        "build_colnames_da"
      ]
    },
    {
      "page": "ci_for_ic",
      "title": "Confidence intervals for Information Component (IC)",
      "topics": [
        "ci_for_ic"
      ]
    },
    {
      "page": "ci_for_prr",
      "title": "Confidence intervals for Proportional Reporting Rate",
      "topics": [
        "ci_for_prr"
      ]
    },
    {
      "page": "ci_for_ror",
      "title": "Confidence intervals for Reporting Odds Ratio",
      "topics": [
        "ci_for_ror"
      ]
    },
    {
      "page": "conf_lvl_to_quantile_prob",
      "title": "Quantile probabilities from confidence level",
      "topics": [
        "conf_lvl_to_quantile_prob"
      ]
    },
    {
      "page": "count_expected_prr",
      "title": "Count expected for Proportional Reporting Rate",
      "topics": [
        "count_expected_prr"
      ]
    },
    {
      "page": "count_expected_ror",
      "title": "Count expected for Reporting Odds Ratio",
      "topics": [
        "count_expected_ror"
      ]
    },
    {
      "page": "count_expected_rrr",
      "title": "Count Expected for Relative Reporting Rate",
      "topics": [
        "count_expected_rrr"
      ]
    },
    {
      "page": "da",
      "title": "Disproportionality Analysis",
      "topics": [
        "da"
      ]
    },
    {
      "page": "drug_event_df",
      "title": "A simulated ICSR database",
      "topics": [
        "drug_event_df"
      ]
    },
    {
      "page": "grouped_da",
      "title": "Disproportionality Analysis by Subgroups",
      "topics": [
        "grouped_da"
      ]
    },
    {
      "page": "ic",
      "title": "Information component",
      "topics": [
        "ic"
      ]
    },
    {
      "page": "print.da",
      "title": "print function for da objects",
      "topics": [
        "print.da"
      ]
    },
    {
      "page": "prr",
      "title": "Proportional Reporting Rate",
      "topics": [
        "prr"
      ]
    },
    {
      "page": "ror",
      "title": "Reporting Odds Ratio",
      "topics": [
        "ror"
      ]
    },
    {
      "page": "round_and_sort_by_lower_da_limit",
      "title": "Sort a disproportionality analysis by the lower da conf. or cred. limit",
      "topics": [
        "round_and_sort_by_lower_da_limit"
      ]
    },
    {
      "page": "round_columns_with_many_decimals",
      "title": "Rounds columns in da_df with many decimals",
      "topics": [
        "round_columns_with_many_decimals"
      ]
    },
    {
      "page": "summary.da",
      "title": "Summary function for disproportionality objects",
      "topics": [
        "summary.da"
      ]
    },
    {
      "page": "tiny_dataset",
      "title": "A 110 reports big, simulated ICSR database",
      "topics": [
        "tiny_dataset"
      ]
    },
    {
      "page": "write_to_excel",
      "title": "Write to excel",
      "topics": [
        "write_to_excel"
      ]
    }
  ],
  "_pkglogo": "https://github.com/fusarolimichele/pvda/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/fusarolimichele/pvda/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "data.table",
    "dplyr",
    "dtplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "Rdpack",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Disproportionality_analysis.Rmd",
      "filename": "Disproportionality_analysis.html",
      "title": "Disproportionality analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Executing a disproportionality analysis",
        "Specifying the column names",
        "Summarizing and printing results",
        "Passing correctly structured input data",
        "Extracting the results",
        "How to run a subgroup analysis?",
        "Frequently Asked Questions",
        "How are drug-event pairs occurring several times in one report counted?",
        "How is the expected calculated?",
        "Where is exp_ic in the output, or what is exp_prr?",
        "Rule of N",
        "Controlling the number of digits",
        "Can I use pvda to get IC, PRR or ROR, when I already have the observed and expected counts?",
        "How fast is pvda?"
      ],
      "created": "2022-12-24 20:31:20",
      "modified": "2025-01-13 08:23:00",
      "commits": 23
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "pvda",
  "_universes": [
    "fusarolimichele",
    "oskargauffin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-06-08T09:13:23.000Z",
      "distro": "noble",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "b444cd0745f4f9c213454f57874c01e06d7da0c73b579cc3ee011377a8091d0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-06-08T09:13:15.000Z",
      "distro": "noble",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "81f3499e4ec67a4e0dc14be038f7b30ce99b1f3236642dab1af1e3bef90ee538",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-06-08T09:13:12.000Z",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "8bea61a6c9b5bc35723acbbcf0edd5fc13b74592ffc50de59cb7ad92f27c8552",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-06-08T09:12:58.000Z",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "4749c76b37d36be1e4f1de0f0a18604e7a0fb2e3cbe35374c6c6014a0bf31d8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-06-08T09:13:00.000Z",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "acef6c5684817608b1549a41a7859e9523db0ae804bfb27cfdecad1f23d78ee1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-06-08T09:12:26.000Z",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "8054b64dc76c4be55549adca880a1e013bdf97f84bffb1041c2a56257a52cdef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-06-08T09:12:41.000Z",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "b86db1a018eb0b96fc30bb39fb9384b9d7fdaa07a95d9590bff67ddac0d200b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-06-08T09:12:32.000Z",
      "commit": "b2362872f0bae072bec5724fa03ef68a82494ebd",
      "fileid": "024db165cc1dc1bb91e04e3e0e14a2594954179ca82e5435b56ba5eb897e3c9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fusarolimichele/actions/runs/27127345819"
    }
  ]
}