{
  "_id": "69df42bec5259ad4cd8dd312",
  "Package": "chlorpromazineR",
  "Title": "Convert Antipsychotic Doses to Chlorpromazine Equivalents",
  "Version": "0.2.0",
  "Authors@R": "c(person(\"Eric\", \"Brown\",\nrole = c(\"aut\", \"cre\"),\nemail = \"eb@ericebrown.com\",\ncomment = c(ORCID = \"0000-0002-1575-2606\")),\nperson(\"Parita\", \"Shah\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7302-0411\")),\nperson(\"Julia\", \"Kim\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-0379-1333\")),\nperson(\"Frederick\", \"Boehm\",\nrole = \"rev\",\ncomment = c(ORCID = \"0000-0002-1644-5931\")))",
  "Description": "As different antipsychotic medications have different\npotencies, the doses of different medications cannot be\ndirectly compared. Various strategies are used to convert doses\ninto a common reference so that comparison is meaningful.\nChlorpromazine (CPZ) has historically been used as a reference\nmedication into which other antipsychotic doses can be\nconverted, as \"chlorpromazine-equivalent doses\". Using\nconversion keys generated from widely-cited scientific papers,\ne.g. Gardner et. al 2010 <doi:10.1176/appi.ajp.2009.09060802>\nand Leucht et al. 2016 <doi:10.1093/schbul/sbv167>,\nantipsychotic doses are converted to CPZ (or any specified\nantipsychotic) equivalents. The use of the package is described\nin the included vignette. Not for clinical use.",
  "URL": "https://docs.ropensci.org/chlorpromazineR/,\nhttps://github.com/ropensci/chlorpromazineR",
  "BugReports": "https://github.com/ropensci/chlorpromazineR/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2021-03-13 22:16:48 UTC",
  "RemoteUrl": "https://github.com/ropensci/chlorpromazineR",
  "RemoteRef": "master",
  "RemoteSha": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-04-15 07:45:23 UTC",
    "User": "root"
  },
  "Author": "Eric Brown [aut, cre] (ORCID: <https://orcid.org/0000-0002-1575-2606>),\nParita Shah [aut] (ORCID: <https://orcid.org/0000-0002-7302-0411>),\nJulia Kim [aut] (ORCID: <https://orcid.org/0000-0002-0379-1333>),\nFrederick Boehm [rev] (ORCID: <https://orcid.org/0000-0002-1644-5931>)",
  "Maintainer": "Eric Brown <eb@ericebrown.com>",
  "MD5sum": "ee2eab5de8600f9cf16385f1e76fec41",
  "_user": "ropensci",
  "_type": "src",
  "_file": "chlorpromazineR_0.2.0.tar.gz",
  "_fileid": "72143b7a6ab6271a096d984afd1df526325401dd4acc1ce91372c722b4d1b3d0",
  "_filesize": 174513,
  "_sha256": "72143b7a6ab6271a096d984afd1df526325401dd4acc1ce91372c722b4d1b3d0",
  "_created": "2026-04-15T07:45:23.000Z",
  "_published": "2026-04-15T07:48:14.078Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 71411240083,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445468555"
    },
    {
      "job": 71411240086,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445472856"
    },
    {
      "job": 71411240060,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6445458629"
    },
    {
      "job": 71411240074,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445464909"
    },
    {
      "job": 71410906181,
      "time": 146,
      "config": "pkgdown",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "6445434015"
    },
    {
      "job": 71410906151,
      "time": 158,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445437609"
    },
    {
      "job": 71411240054,
      "time": 92,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6445462998"
    },
    {
      "job": 71411240073,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6445460513"
    },
    {
      "job": 71411240096,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445459266"
    },
    {
      "job": 71411240071,
      "time": 71,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445457555"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/chlorpromazineR",
  "_commit": {
    "id": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
    "author": "eebrown <eb@ericebrown.com>",
    "committer": "eebrown <eb@ericebrown.com>",
    "message": "increment to v0.2.0 with new key Leucht 2020\n",
    "time": 1615673808
  },
  "_maintainer": {
    "name": "Eric Brown",
    "email": "eb@ericebrown.com",
    "login": "eebrown",
    "uuid": 32402513,
    "orcid": "0000-0002-1575-2606"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "antipsychotic",
    "pharmacology",
    "psychiatry",
    "schizophrenia"
  ],
  "_stars": 13,
  "_contributors": [
    {
      "user": "eebrown",
      "count": 64,
      "uuid": 32402513
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 313,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chlorpromazineR"
  },
  "_devurl": "https://github.com/ropensci/chlorpromaziner",
  "_pkgdown": "https://docs.ropensci.org/chlorpromazineR/",
  "_searchresults": 14,
  "_metadata": {
    "review": {
      "id": 307,
      "status": "reviewed",
      "version": "0.1.0",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/307"
    },
    "ropensci_category": "scalereprod"
  },
  "_rbuild": "4.5.3",
  "_assets": [
    "extra/chlorpromazineR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/chlorpromaziner",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2019-10-11"
    },
    {
      "version": "0.2.0",
      "date": "2021-03-14"
    }
  ],
  "_exports": [
    "add_key",
    "check_ap",
    "check_key",
    "to_ap",
    "to_cpz",
    "trim_key"
  ],
  "_datasets": [
    {
      "name": "davis1974",
      "title": "Chlorpromazine equivalent key from Davis 1974 data",
      "object": "davis1974",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "gardner2010",
      "title": "Chlorpromazine equivalent key from Gardner et al. 2010 data",
      "object": "gardner2010",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "gardner2010_withsai",
      "title": "Chlorpromazine equivalent key from Gardner et al. 2010 data",
      "object": "gardner2010_withsai",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "leucht2016",
      "title": "Chlorpromazine equivalent key from Leucht et al. 2016 data",
      "object": "leucht2016",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "leucht2020",
      "title": "Antipsychotic equivalent key from Leucht et al. 2020 data",
      "object": "leucht2020",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "woods2003",
      "title": "Chlorpromazine equivalent key from Woods 2003 data",
      "object": "woods2003",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_key",
      "title": "Combine 2 keys with base key taking precedence",
      "concept": [
        "key functions"
      ],
      "topics": [
        "add_key"
      ]
    },
    {
      "page": "check_ap",
      "title": "Checks whether antipsychotic names are in the key",
      "concept": [
        "checking functions"
      ],
      "topics": [
        "check_ap"
      ]
    },
    {
      "page": "check_key",
      "title": "Check whether a conversion key is the expected format",
      "concept": [
        "key functions"
      ],
      "topics": [
        "check_key"
      ]
    },
    {
      "page": "davis1974",
      "title": "Chlorpromazine equivalent key from Davis 1974 data",
      "topics": [
        "davis1974"
      ]
    },
    {
      "page": "gardner2010",
      "title": "Chlorpromazine equivalent key from Gardner et al. 2010 data",
      "topics": [
        "gardner2010"
      ]
    },
    {
      "page": "gardner2010_withsai",
      "title": "Chlorpromazine equivalent key from Gardner et al. 2010 data",
      "topics": [
        "gardner2010_withsai"
      ]
    },
    {
      "page": "leucht2016",
      "title": "Chlorpromazine equivalent key from Leucht et al. 2016 data",
      "topics": [
        "leucht2016"
      ]
    },
    {
      "page": "leucht2020",
      "title": "Antipsychotic equivalent key from Leucht et al. 2020 data",
      "topics": [
        "leucht2020"
      ]
    },
    {
      "page": "to_ap",
      "title": "Calculates equivalent doses",
      "concept": [
        "conversion functions"
      ],
      "topics": [
        "to_ap"
      ]
    },
    {
      "page": "to_cpz",
      "title": "Calculates chlorpromazine-equivalent doses",
      "concept": [
        "conversion functions"
      ],
      "topics": [
        "to_cpz"
      ]
    },
    {
      "page": "trim_key",
      "title": "Modify the names in a conversion key to only include the first word",
      "concept": [
        "key functions"
      ],
      "topics": [
        "trim_key"
      ]
    },
    {
      "page": "woods2003",
      "title": "Chlorpromazine equivalent key from Woods 2003 data",
      "topics": [
        "woods2003"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/chlorpromazineR/raw/master/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "exampletable.Rmd",
      "filename": "exampletable.html",
      "title": "Examples produced by chlorpromazineR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Gardner 2010",
        "Oral route",
        "Equivalent to olanzapine 20 mg (CPZ 600 mg)",
        "Equivalent to chlorpromazine 100 mg",
        "Short-acting injectables",
        "Equivalent to haloperidol 5 mg IM",
        "Long-acting injectables",
        "Davis 1974",
        "Oral",
        "Short acting injectable",
        "Leucht 2016",
        "Woods 2003"
      ],
      "created": "2021-02-14 04:42:14",
      "modified": "2021-03-13 22:16:48",
      "commits": 2
    },
    {
      "source": "walkthrough.Rmd",
      "filename": "walkthrough.html",
      "title": "Using chlorpromazineR to calculate chlorpromazine-equivalent doses",
      "author": "Eric Brown, Parita Shah, Julia Kim",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "chlorpromazineR",
        "Input data structure",
        "Key data structure",
        "Tutorial",
        "Example for one route only",
        "Example for data with oral and injectable routes",
        "Participants on multiple medications",
        "Checking for inclusion and matching of antipsychotic names",
        "Using other keys",
        "List of included keys",
        "Converting to equivalents of an arbitrary antipsychotic"
      ],
      "created": "2019-03-29 13:32:49",
      "modified": "2021-03-13 22:16:48",
      "commits": 18
    }
  ],
  "_score": 5.260071387985075,
  "_indexed": true,
  "_nocasepkg": "chlorpromaziner",
  "_universes": [
    "ropensci",
    "eebrown"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-04-15T07:47:17.000Z",
      "distro": "noble",
      "commit": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
      "fileid": "2f282f3fd2c91187d50f1e0b53a66da2866064e0950467d3341cdec4b9e3b82a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-04-15T07:46:46.000Z",
      "commit": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
      "fileid": "f09194dc9da9eab4c155beb4f50add9578c9a850cf25383fc1fac58dd94f1e44",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-04-15T07:46:59.000Z",
      "commit": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
      "fileid": "40e7ecbae5a3d03f38fcef2f9f1b6508367b85b44a15906459b96013bf9676d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-04-15T07:47:09.000Z",
      "commit": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
      "fileid": "83fb38d25c4ed1a789ba9ec18e9276f73b99aa259024869603c5a9a0e440342a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-04-15T07:46:44.000Z",
      "commit": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
      "fileid": "4847fe3bd869d458df780d840a34f633d43c45e6957bbed9aa861faf5c45c79b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-04-15T07:46:39.000Z",
      "commit": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
      "fileid": "346a928eee5ef0b61f2c32862157af42e493bee311ad00cea921d34bb3b8cfa1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-04-15T07:46:33.000Z",
      "commit": "6fa5e312f8994e8e14ae202f3f3da260c0d9d8a8",
      "fileid": "02b8fb2a1365c735a93c1cfd844fc2fd23610781af1d2e06094e0f04767d1c58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442560512"
    }
  ]
}