{
  "_id": "6a214949cd65a98ecbd2c09c",
  "Package": "CHOIRBM",
  "Title": "Plots the CHOIR Body Map",
  "Version": "0.0.2.9000",
  "Authors@R": "c(person(given = \"Eric\",\nfamily = \"Cramer\",\nrole = c(\"aut\", \"cre\"),\nemail = \"emcramer@stanford.edu\",\ncomment = c(ORCID = \"0000-0003-2085-3679\")),\nperson(given = \"Stanford University School of Medicine\",\nrole = c(\"cph\", \"fnd\")))",
  "Description": "Collection of utility functions for visualizing body map\ndata collected with the Collaborative Health Outcomes\nInformation Registry.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/emcramer/CHOIRBM",
  "BugReports": "https://github.com/emcramer/CHOIRBM/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://emcramer.r-universe.dev",
  "Date/Publication": "2025-07-09 18:29:49 UTC",
  "RemoteUrl": "https://github.com/emcramer/choirbm",
  "RemoteRef": "HEAD",
  "RemoteSha": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 09:42:14 UTC",
    "User": "root"
  },
  "Author": "Eric Cramer [aut, cre] (ORCID: <https://orcid.org/0000-0003-2085-3679>),\nStanford University School of Medicine [cph, fnd]",
  "Maintainer": "Eric Cramer <emcramer@stanford.edu>",
  "MD5sum": "81e44805c3fa6ad25c2f8e08af5c7d56",
  "_user": "emcramer",
  "_type": "src",
  "_file": "CHOIRBM_0.0.2.9000.tar.gz",
  "_fileid": "15ef004fc1175ad7463426662443e4f5d947405572ac0ba341dc1e30f6d5d5af",
  "_filesize": 1802559,
  "_sha256": "15ef004fc1175ad7463426662443e4f5d947405572ac0ba341dc1e30f6d5d5af",
  "_created": "2026-06-04T09:42:14.000Z",
  "_published": "2026-06-04T09:45:45.140Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79492048695,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7408231275"
    },
    {
      "job": 79492048623,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7408232238"
    },
    {
      "job": 79492048632,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7408235204"
    },
    {
      "job": 79492048653,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7408234146"
    },
    {
      "job": 79491474461,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7408180678"
    },
    {
      "job": 79492048573,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7408221014"
    },
    {
      "job": 79492048621,
      "time": 134,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7408230436"
    },
    {
      "job": 79492048759,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7408215712"
    },
    {
      "job": 79492048651,
      "time": 135,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7408229923"
    }
  ],
  "_buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/emcramer/choirbm",
  "_commit": {
    "id": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
    "author": "Eric Cramer <13970720+emcramer@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md\n\nadded zenodo badge + doi to readme",
    "time": 1752085789
  },
  "_maintainer": {
    "name": "Eric Cramer",
    "email": "emcramer@stanford.edu",
    "orcid": "0000-0003-2085-3679"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "emcramer",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "body-map",
    "cbm",
    "choir",
    "data-visualization",
    "visualization"
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "emcramer",
      "count": 8,
      "uuid": 13970720
    }
  ],
  "_userbio": {
    "uuid": 13970720,
    "type": "user",
    "name": "Eric Cramer",
    "description": "MD-PhD student"
  },
  "_downloads": {
    "count": 181,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CHOIRBM"
  },
  "_devurl": "https://github.com/emcramer/choirbm",
  "_searchresults": 28,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/CHOIRBM.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/emcramer/choirbm",
  "_realowner": "emcramer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2021-02-15"
    }
  ],
  "_exports": [
    "agg_choirbm_list",
    "comp_choirbm_chi",
    "comp_choirbm_glm",
    "comp_choirbm_ztest",
    "comp_cooccurrence",
    "convert_bodymap",
    "convert_bodymaps",
    "gen_example_data",
    "num_areas",
    "plot_cooccurrence",
    "plot_female_choirbm",
    "plot_male_choirbm",
    "plot_nareas_histogram",
    "prep_bodymaps",
    "string_to_map"
  ],
  "_datasets": [
    {
      "name": "validation",
      "title": "CHOIR Body Map data for approximately 7,000 patients",
      "object": "validation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "gender",
        "race",
        "age",
        "bodymap_regions_csv",
        "score"
      ],
      "rows": 7068,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "agg_choirbm_list",
      "title": "Converts a list of CBMs to a single data frame",
      "topics": [
        "agg_choirbm_list"
      ]
    },
    {
      "page": "comp_choirbm_chi",
      "title": "Compare CBM segment endorsement across categorical variable using Chi-Square",
      "topics": [
        "comp_choirbm_chi"
      ]
    },
    {
      "page": "comp_choirbm_glm",
      "title": "Examine the effect of a continuous variable on CBM location endorsement",
      "topics": [
        "comp_choirbm_glm"
      ]
    },
    {
      "page": "comp_choirbm_ztest",
      "title": "Compare CBM segment endorsement across categorical variable using z-test(s)",
      "topics": [
        "comp_choirbm_ztest"
      ]
    },
    {
      "page": "comp_cooccurrence",
      "title": "Calculate the co-occurrence between locations on the CBM",
      "topics": [
        "comp_cooccurrence"
      ]
    },
    {
      "page": "convert_bodymap",
      "title": "convert_bodymap Helper function to convert a single bodymap",
      "topics": [
        "convert_bodymap"
      ]
    },
    {
      "page": "convert_bodymaps",
      "title": "convert_bodymaps Function to convert multiple bodymaps",
      "topics": [
        "convert_bodymaps"
      ]
    },
    {
      "page": "gen_example_data",
      "title": "Generate Simple Example Data",
      "topics": [
        "gen_example_data"
      ]
    },
    {
      "page": "num_areas",
      "title": "Count the number of areas indicated in a CBM",
      "topics": [
        "num_areas"
      ]
    },
    {
      "page": "plot_cooccurrence",
      "title": "Plot a concurrence matrix",
      "topics": [
        "plot_cooccurrence"
      ]
    },
    {
      "page": "plot_female_choirbm",
      "title": "Plot the male CHOIR Body Map",
      "topics": [
        "plot_female_choirbm"
      ]
    },
    {
      "page": "plot_male_choirbm",
      "title": "Plot the male CHOIR Body Map",
      "topics": [
        "plot_male_choirbm"
      ]
    },
    {
      "page": "plot_nareas_histogram",
      "title": "Plots a histogram of the number of CBM areas indicated",
      "topics": [
        "plot_nareas_histogram"
      ]
    },
    {
      "page": "prep_bodymaps",
      "title": "prep_bodymaps converts a single charcter vector of bodymaps into a list of character vectors, each a bodymap",
      "topics": [
        "prep_bodymaps"
      ]
    },
    {
      "page": "string_to_map",
      "title": "Converts a comma-separated string to a CHOIR BM",
      "topics": [
        "string_to_map"
      ]
    },
    {
      "page": "validation",
      "title": "CHOIR Body Map data for approximately 7,000 patients",
      "topics": [
        "validation"
      ]
    }
  ],
  "_readme": "https://github.com/emcramer/choirbm/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "calc-cooccurrence.Rmd",
      "filename": "calc-cooccurrence.html",
      "title": "Calculate the co-occurrence between different locations on the CHOIR Body Map",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Defining \"co-occurrence\"",
        "Workflow"
      ],
      "created": "2021-08-27 23:40:11",
      "modified": "2021-08-27 23:40:11",
      "commits": 1
    },
    {
      "source": "choir-db-ex.Rmd",
      "filename": "choir-db-ex.html",
      "title": "Processing data from a CHOIR database from start to finish",
      "author": "Eric Cramer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data processing",
        "Plotting"
      ],
      "created": "2021-02-13 05:27:47",
      "modified": "2021-03-04 23:26:41",
      "commits": 2
    },
    {
      "source": "compare-choirbms.Rmd",
      "filename": "compare-choirbms.html",
      "title": "Analyzing and comparing CHOIR Body Maps",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Analyzing CBMs",
        "Example 1: Chi-Squared method",
        "Data processing",
        "Compare the percent endorsements",
        "Example 2: z-test method",
        "Example 3: Logistic regression method"
      ],
      "created": "2021-02-16 07:44:37",
      "modified": "2021-08-27 23:40:11",
      "commits": 4
    },
    {
      "source": "convert_bodymaps.Rmd",
      "filename": "convert_bodymaps.html",
      "title": "Convert CBMs to Standard",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2021-08-27 23:40:11",
      "modified": "2021-08-27 23:40:11",
      "commits": 1
    },
    {
      "source": "plot-one-patient.Rmd",
      "filename": "plot-one-patient.html",
      "title": "Plotting a single patient's CBM",
      "author": "Eric Cramer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Converting a string map into a CBM-plot-ready data frame"
      ],
      "created": "2021-02-02 22:21:40",
      "modified": "2021-03-04 23:26:41",
      "commits": 4
    }
  ],
  "_score": 5.799340549453581,
  "_indexed": true,
  "_nocasepkg": "choirbm",
  "_universes": [
    "emcramer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:44:19.000Z",
      "distro": "noble",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "99557a801c0e35a1214072a26039c4bb713e94ab2387aa5be14f8b03ca272a6f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:44:22.000Z",
      "distro": "noble",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "d01588f125dccf0a3b6bb62291beca90abdcb8ca35c93cc60e0c145067a0fe96",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:44:39.000Z",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "8fb99380a6c942a9401ca0382f1b2e160be3909744f380cd785f441e6181e65b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:44:33.000Z",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "855d32afcaf01c02a059295414dc1d7fd3dd66f17eb78b4878edb77b449c0411",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:44:20.000Z",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "5a306eb577a555e01a7c5e6748a5d88e51150979dec4ac7589b9748f7db5a554",
      "status": "success",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:44:08.000Z",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "41498e946aefd84b9d5588a0f8a7fd82dbbb8ceb2dcebfbf5cf0119b7f6b1ab4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:43:28.000Z",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "72a0ea39aa62935cab018ce86bf2d29c0b43a1a430352e3914154807038c12a6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-06-04T09:44:05.000Z",
      "commit": "9bf68ab3c203b6a14c0f1fc611044f8fca6e3d20",
      "fileid": "eca9673fb7dd58a5a02a5cacf4fd91cc44804a76f3532a82d042d66ed6415778",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/emcramer/actions/runs/26943747541"
    }
  ]
}