{
  "_id": "6a1effd4b401979e7341ab2a",
  "Type": "Package",
  "Package": "polypharmacy",
  "Version": "1.0.0",
  "Title": "Calculate Several Polypharmacy Indicators",
  "Description": "Analyse prescription drug deliveries to calculate several\nindicators of polypharmacy corresponding to the various\ndefinitions found in the literature. Bjerrum, L., Rosholm, J.\nU., Hallas, J., & Kragstrup, J. (1997)\n<doi:10.1007/s002280050329>. Chan, D.-C., Hao, Y.-T., & Wu,\nS.-C. (2009a) <doi:10.1002/pds.1712>. Fincke, B. G., Snyder,\nK., Cantillon, C., Gaehde, S., Standring, P., Fiore, L., ...\nGagnon, D.R. (2005) <doi:10.1002/pds.966>. Hovstadius, B.,\nAstrand, B., & Petersson, G. (2009)\n<doi:10.1186/1472-6904-9-11>. Hovstadius, B., Astrand, B., &\nPetersson, G. (2010) <doi:10.1002/pds.1921>. Kennerfalk, A.,\nRuigómez, A., Wallander, M.-A., Wilhelmsen, L., & Johansson, S.\n(2002) <doi:10.1345/aph.1A226>. Masnoon, N., Shakib, S.,\nKalisch-Ellett, L., & Caughey, G. E. (2017)\n<doi:10.1186/s12877-017-0621-2>. Narayan, S. W., & Nishtala, P.\nS. (2015) <doi:10.1007/s40801-015-0020-y>. Nishtala, P. S., &\nSalahudeen, M. S. (2015) <doi:10.1159/000368191>. Park, H. Y.,\nRyu, H. N., Shim, M. K., Sohn, H. S., & Kwon, J. W. (2016)\n<doi:10.5414/cp202484>. Veehof, L., Stewart, R.,\nHaaijer-Ruskamp, F., & Jong, B. M. (2000)\n<doi:10.1093/fampra/17.3.261>.",
  "Authors@R": "c(person(given = \"Guillaume\",\nfamily = \"Boucher\",\nrole = c(\"aut\", \"cre\"),\nemail = \"guiboucher8@gmail.com\"),\nperson(given = \"Bernard\",\nfamily = \"Candas\",\nrole = \"aut\",\nemail = \"bernard.candas.1@gmail.com\"),\nperson(given = \"Houssem\",\nfamily = \"Missaoui\",\nrole = \"aut\",\nemail = \"missaoui_houssem@hotmail.fr\"),\nperson(given = \"Caroline\",\nfamily = \"Sirois\",\nrole = \"sad\",\nemail = \"caroline.sirois@pha.ulaval.ca\"),\nperson(given = \"Marc\",\nfamily = \"Simard\",\nrole = \"sad\",\nemail = \"marc.simard@inspq.qc.ca\"))",
  "Maintainer": "Guillaume Boucher <guiboucher8@gmail.com>",
  "BugReports": "https://github.com/guiboucher/polypharmacy/issues",
  "License": "MIT + file LICENSE",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://guiboucher.r-universe.dev",
  "Date/Publication": "2021-09-16 20:10:27 UTC",
  "RemoteUrl": "https://github.com/guiboucher/polypharmacy",
  "RemoteRef": "HEAD",
  "RemoteSha": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 09:11:18 UTC",
    "User": "root"
  },
  "Author": "Guillaume Boucher [aut, cre],\nBernard Candas [aut],\nHoussem Missaoui [aut],\nCaroline Sirois [sad],\nMarc Simard [sad]",
  "MD5sum": "eda4585ca2becac528a5e6161dac0d86",
  "_user": "guiboucher",
  "_type": "src",
  "_file": "polypharmacy_1.0.0.tar.gz",
  "_fileid": "888730a176403f0d0cf21c73fa6d0d3455ff4b90ea4815834abd26a8dfd0cb00",
  "_filesize": 491647,
  "_sha256": "888730a176403f0d0cf21c73fa6d0d3455ff4b90ea4815834abd26a8dfd0cb00",
  "_created": "2026-05-18T09:11:18.000Z",
  "_published": "2026-06-02T16:07:48.155Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79116371520,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7053849517"
    },
    {
      "job": 79116371635,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7053846790"
    },
    {
      "job": 79116371914,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7053843591"
    },
    {
      "job": 79116371807,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7053843219"
    },
    {
      "job": 79116371263,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053797157"
    },
    {
      "job": 79116370617,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363256262"
    },
    {
      "job": 79116371871,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7053840074"
    },
    {
      "job": 79116372548,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7053829112"
    },
    {
      "job": 79116371988,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7053833782"
    }
  ],
  "_buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/guiboucher/polypharmacy",
  "_commit": {
    "id": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
    "author": "Guillaume Boucher <guiboucher8@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1631823027
  },
  "_maintainer": {
    "name": "Guillaume Boucher",
    "email": "guiboucher8@gmail.com",
    "login": "guiboucher",
    "description": "",
    "uuid": 31544482
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "itertools",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "guiboucher",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "guiboucher",
      "count": 81,
      "uuid": 31544482
    }
  ],
  "_userbio": {
    "uuid": 31544482,
    "type": "user",
    "name": "Guillaume Boucher"
  },
  "_downloads": {
    "count": 197,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/polypharmacy"
  },
  "_devurl": "https://github.com/guiboucher/polypharmacy",
  "_searchresults": 8,
  "_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/polypharmacy.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/guiboucher/polypharmacy",
  "_realowner": "guiboucher",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-07-12"
    }
  ],
  "_exports": [
    "addError",
    "addMessage",
    "addWarning",
    "cst_deliv_duration",
    "cst_deliv_duration.verif_args",
    "data_process",
    "data_process.1_core",
    "data_process.verif_args",
    "drug_bkdn",
    "finishArgCheck",
    "ind_simult",
    "ind_stdcontinuous",
    "ind_stdcumul",
    "ind_ucontinuous",
    "ind_wcumul",
    "indicators",
    "newArgCheck",
    "rmNA",
    "stat_quantile_prob",
    "sunique"
  ],
  "_datasets": [
    {
      "name": "sample_Rx_processed",
      "title": "Table: Processed _unprocessed table_",
      "object": "sample_Rx_processed",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "id",
        "code",
        "tx_start",
        "tx_end"
      ],
      "rows": 6744,
      "table": true,
      "tojson": true
    },
    {
      "name": "sample_Rx_unprocessed",
      "title": "Table: Prescription drugs deliveries",
      "object": "sample_Rx_unprocessed",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "id",
        "code",
        "start",
        "duration"
      ],
      "rows": 17060,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "polypharmacy-package",
      "title": "Calculate several polypharmacy indicators",
      "topics": [
        "polypharmacy-package",
        "polypharmacy"
      ]
    },
    {
      "page": "cst_deliv_duration",
      "title": "Constant delivery duration drugs",
      "topics": [
        "cst_deliv_duration"
      ]
    },
    {
      "page": "data_process",
      "title": "Create the table of the drug treatments",
      "topics": [
        "data_process"
      ]
    },
    {
      "page": "drug_bkdn",
      "title": "Translate combination drug deliveries into several single active ingredients",
      "topics": [
        "drug_bkdn"
      ]
    },
    {
      "page": "ind_simult",
      "title": "Assess polypharmacy based on the daily simultaneous consumption of medications",
      "topics": [
        "ind_simult"
      ]
    },
    {
      "page": "ind_stdcontinuous",
      "title": "Assess polypharmacy based on the number of medications that is consumed both during the initial and the final period of the study period",
      "topics": [
        "ind_stdcontinuous"
      ]
    },
    {
      "page": "ind_stdcumul",
      "title": "Assess polypharmacy based on the average number of distinct medications consumed over successive periods of time of equal length",
      "topics": [
        "ind_stdcumul"
      ]
    },
    {
      "page": "ind_ucontinuous",
      "title": "Assess polypharmacy based on the uninterrupted consumption of distinct medications over the study period",
      "topics": [
        "ind_ucontinuous"
      ]
    },
    {
      "page": "ind_wcumul",
      "title": "Assess polypharmacy based on the number of distinct medications consumed weighted to their respective duration of consumption",
      "topics": [
        "ind_wcumul"
      ]
    },
    {
      "page": "indicators",
      "title": "Provide several polypharmacy indicators at once",
      "topics": [
        "indicators"
      ]
    },
    {
      "page": "sample_Rx_processed",
      "title": "Table: Processed _unprocessed table_",
      "topics": [
        "sample_Rx_processed"
      ]
    },
    {
      "page": "sample_Rx_unprocessed",
      "title": "Table: Prescription drugs deliveries",
      "topics": [
        "sample_Rx_unprocessed"
      ]
    }
  ],
  "_readme": "https://github.com/guiboucher/polypharmacy/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "doParallel",
    "foreach",
    "generics",
    "glue",
    "iterators",
    "itertools",
    "lifecycle",
    "lubridate",
    "magrittr",
    "rlang",
    "stringi",
    "stringr",
    "timechange",
    "vctrs"
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "polypharmacy",
  "_universes": [
    "guiboucher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-18T09:13:35.000Z",
      "distro": "noble",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "fe378caa9ed3e600efd099fbe7948d2efbfed148e48de39e9cb5487de4131479",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-18T09:13:29.000Z",
      "distro": "noble",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "337245cf333f5ee74d186fdfe2f53e8b7c51846501b0f08257e5e55b05a3d34d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-18T09:13:27.000Z",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "45605822d5c2a07363a6fdd1d18993f12a1694cd1e394e9509e8965616a1aef5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-18T09:13:23.000Z",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "3c10aa9090d45a3695ca554a6cdd8a2b9ad4ef0ecdeef03aad5ac9f6b2e34332",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-18T09:13:03.000Z",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "a04c016acc5b12a25944ca430841e6227fcf73392cf449722d47c2e174d94730",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-18T09:12:34.000Z",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "8df82f4a71ea2de18f7bace2422980b258dec92c6298d5a7864be6b96c811aa8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-18T09:12:44.000Z",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "44345e19d1b49410122c0c2456ccb46ed568cecf0bc56afc04391a0d3954877a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T16:07:20.000Z",
      "commit": "0aa752a6184e213ffcc4493adf64f933a8a173d9",
      "fileid": "d74f3736795687b7a186167d5dc077c09afc1b48f40d010ff33fb1efef109ec9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/guiboucher/actions/runs/26024109376"
    }
  ]
}