{
  "_id": "6a156d41acfb0bcc41d64264",
  "Package": "CTNote",
  "Title": "CTN Outcomes, Treatments, and Endpoints",
  "Description": "The Clinical Trials Network (CTN) of the U.S. National\nInstitute of Drug Abuse sponsored the CTN-0094 research team to\nharmonize data sets from three nationally-representative\nclinical trials for opioid use disorder (OUD). The CTN-0094\nteam herein provides a coded collection of trial outcomes and\nendpoints used in various OUD clinical trials over the past 50\nyears. These coded outcome functions are used to contrast and\ncluster different clinical outcome functions based on daily or\nweekly patient urine screenings. Note that we abbreviate urine\ndrug screen as \"UDS\" and urine opioid screen as \"UOS\". For the\nexample data sets (based on clinical trials data harmonized by\nthe CTN-0094 research team), UDS and UOS are largely\ninterchangeable.",
  "Version": "0.1.3",
  "Authors@R": "c(\nperson(\ngiven = \"Gabriel\", family = \"Odom\", email = \"gabriel.odom@fiu.edu\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-1341-4555\")\n),\nperson(\ngiven = \"Laura\", family = \"Brandt\", email = \"lbrandt@ccny.cuny.edu\",\nrole = c(\"aut\"), comment = c(ORCID = \"0000-0001-7551-221X\")\n),\nperson(\ngiven = \"Raymond\", family = \"Balise\", email = \"balise@miami.edu\",\nrole = c(\"aut\"), comment = c(ORCID = \"0000-0002-9856-5901\")\n),\nperson(\ngiven = \"Layla\", family = \"Bouzoubaa\", email = \"lab218@miami.edu\",\nrole = c(\"ctb\"), comment = c(ORCID = \"0000-0002-6616-0950\")\n)\n)",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "URL": "https://ctn-0094.github.io/CTNote/",
  "BugReports": "https://github.com/CTN-0094/CTNote/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ctn-0094.r-universe.dev",
  "Date/Publication": "2023-12-22 21:33:09 UTC",
  "RemoteUrl": "https://github.com/ctn-0094/ctnote",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf421a087e80e50607b77f26fd820750e70c7d1a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 09:48:53 UTC",
    "User": "root"
  },
  "Author": "Gabriel Odom [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1341-4555>),\nLaura Brandt [aut] (ORCID: <https://orcid.org/0000-0001-7551-221X>),\nRaymond Balise [aut] (ORCID: <https://orcid.org/0000-0002-9856-5901>),\nLayla Bouzoubaa [ctb] (ORCID: <https://orcid.org/0000-0002-6616-0950>)",
  "Maintainer": "Gabriel Odom <gabriel.odom@fiu.edu>",
  "MD5sum": "76dcbc308076a08c7e29454b26977f42",
  "_user": "ctn-0094",
  "_type": "src",
  "_file": "CTNote_0.1.3.tar.gz",
  "_fileid": "bab50b21a3654357e80ae1cf2c2fff84cbe9bca4d24e2c3ea0e75467f1767a85",
  "_filesize": 901605,
  "_sha256": "bab50b21a3654357e80ae1cf2c2fff84cbe9bca4d24e2c3ea0e75467f1767a85",
  "_created": "2026-05-26T09:48:53.000Z",
  "_published": "2026-05-26T09:52:01.336Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77849184547,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213984493"
    },
    {
      "job": 77849184519,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213983362"
    },
    {
      "job": 77849184513,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213973328"
    },
    {
      "job": 77849184490,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213973456"
    },
    {
      "job": 77848484156,
      "time": 249,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213931658"
    },
    {
      "job": 77849184638,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213976010"
    },
    {
      "job": 77849184500,
      "time": 89,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213964197"
    },
    {
      "job": 77849184611,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213964855"
    },
    {
      "job": 77849184527,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213967807"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ctn-0094/ctnote",
  "_commit": {
    "id": "cf421a087e80e50607b77f26fd820750e70c7d1a",
    "author": "gabrielodom <gabriel.odom@fiu.edu>",
    "committer": "gabrielodom <gabriel.odom@fiu.edu>",
    "message": "roxygen v bump\n",
    "time": 1703280789
  },
  "_maintainer": {
    "name": "Gabriel Odom",
    "email": "gabriel.odom@fiu.edu",
    "login": "gabrielodom",
    "twitter": "@RevDocGabriel",
    "description": "PhD statistician. Avid learner. Ordained priest.",
    "uuid": 24464126,
    "orcid": "0000-0003-1341-4555"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "ape",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "ctn-0094",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "gabrielodom",
      "count": 112,
      "uuid": 24464126
    },
    {
      "user": "raymondbalise",
      "count": 16,
      "uuid": 18148282
    },
    {
      "user": "labouz",
      "count": 1,
      "uuid": 25671683
    }
  ],
  "_userbio": {
    "uuid": 69799326,
    "type": "organization",
    "name": "CTN-0094",
    "description": "This is the CTN 94 org"
  },
  "_downloads": {
    "count": 177,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CTNote"
  },
  "_devurl": "https://github.com/ctn-0094/ctnote",
  "_pkgdown": "https://ctn-0094.github.io/CTNote/",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/CTNote.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ctn-0094/ctnote",
  "_realowner": "ctn-0094",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-10-03"
    }
  ],
  "_exports": [
    "collapse_lattice",
    "count_matches",
    "detect_in_window",
    "detect_subpattern",
    "impute_missing_visits",
    "measure_abstinence_period",
    "measure_retention",
    "recode_missing_visits",
    "view_by_lattice",
    "weight_positive_visits"
  ],
  "_datasets": [
    {
      "name": "egOpioidsCTN0094",
      "title": "Opioid Use by Study Day for Example CTN-0094 Participants",
      "object": "egOpioidsCTN0094",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "who",
        "what",
        "when"
      ],
      "rows": 71,
      "table": true,
      "tojson": true
    },
    {
      "name": "outcomesCTN0094",
      "title": "All Treatment Outcomes for CTN-0094 Participants",
      "object": "outcomesCTN0094",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "who",
        "usePatternUDS",
        "Ab_ctnNinetyFour_2023",
        "Ab_fiellin_2006",
        "Ab_kosten_1993",
        "Ab_krupitskyA_2011",
        "Ab_krupitskyB_2011",
        "Ab_ling_1998",
        "Ab_lofwall_2018",
        "AbT_mokri_2016",
        "AbE_mokri_2016",
        "Ab_schottenfeld_2005",
        "AbT_schottenfeldA_2008",
        "AbE_schottenfeldA_2008",
        "Ab_schottenfeldB_2008",
        "AbT_shufman_1994",
        "AbE_shufman_1994",
        "Ab_ctnThirty_2011",
        "Rd_comer_2006",
        "Rd_eissenberg_1997",
        "Rd_fiellin_2006",
        "Rd_fudala_2003",
        "Rd_haight_2019",
        "Rd_jaffe_1972",
        "Rd_johnson_1992",
        "Rd_kostenB_1993",
        "Rd_lingA_1998",
        "Rd_lingC_1998",
        "Rd_ling_2010",
        "Rd_lingA_1976",
        "Rd_lingB_1976",
        "Rd_lofwall_2018",
        "Rd_mattickA_2003",
        "Rd_mattickB_2003",
        "Rd_paniA_2000",
        "Rd_paniB_2000",
        "Rd_petitjean_2001",
        "Rd_preston_2000",
        "Rd_schottenfeld_2005",
        "Ab_schwartz_2006",
        "Rd_shufman_1994",
        "Rd_soyka_2008",
        "Rd_strain_1993",
        "Rd_strain_1994",
        "Rd_strain_1996",
        "Rd_strain_1999",
        "Rd_strang_2010",
        "Rd_strang_2019",
        "Rd_tanum_2017",
        "Rd_wolstein_2009",
        "Rd_woody_2008",
        "Rd_zaks_1972",
        "RsT_ctnNinetyFour_2023",
        "RsE_ctnNinetyFour_2023",
        "DrT_ctnNinetyFour_2023",
        "DrE_ctnNinetyFour_2023",
        "Rs_johnson_1992",
        "Rs_krupitsky_2004",
        "RsT_lee_2016",
        "RsE_lee_2016",
        "RsT_ctnFiftyOne_2018",
        "RsE_ctnFiftyOne_2018",
        "RsT_schottenfeld_2008",
        "RsE_schottenfeld_2008"
      ],
      "rows": 3560,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "collapse_lattice",
      "title": "Combine Multiple Simple Study Design \"Lattices\"",
      "topics": [
        "collapse_lattice"
      ]
    },
    {
      "page": "count_matches",
      "title": "Count Periods of Substance Use / Abstinence",
      "topics": [
        "count_matches"
      ]
    },
    {
      "page": "detect_in_window",
      "title": "Detect Visits before Matching a Fuzzy Sub-Pattern",
      "topics": [
        "detect_in_window"
      ]
    },
    {
      "page": "detect_subpattern",
      "title": "Detect a Consecutive Sub-Pattern",
      "topics": [
        "detect_subpattern"
      ]
    },
    {
      "page": "egOpioidsCTN0094",
      "title": "Opioid Use by Study Day for Example CTN-0094 Participants",
      "topics": [
        "egOpioidsCTN0094"
      ]
    },
    {
      "page": "impute_missing_visits",
      "title": "Naively Impute Missing Visits",
      "topics": [
        "impute_missing_visits"
      ]
    },
    {
      "page": "measure_abstinence_period",
      "title": "Measure the Length of the Longest Abstinent Period",
      "topics": [
        "measure_abstinence_period"
      ]
    },
    {
      "page": "measure_retention",
      "title": "Measure Length of Use Pattern before Dropout",
      "topics": [
        "measure_retention"
      ]
    },
    {
      "page": "outcomesCTN0094",
      "title": "All Treatment Outcomes for CTN-0094 Participants",
      "topics": [
        "outcomesCTN0094"
      ]
    },
    {
      "page": "recode_missing_visits",
      "title": "Recode Missing or Ambiguous UDS in a Subject Use Pattern",
      "topics": [
        "recode_missing_visits"
      ]
    },
    {
      "page": "view_by_lattice",
      "title": "View a Pattern through a Study Design \"Lattice\"",
      "topics": [
        "view_by_lattice"
      ]
    },
    {
      "page": "weight_positive_visits",
      "title": "Weight Visits in a Subject Use Pattern",
      "topics": [
        "weight_positive_visits"
      ]
    }
  ],
  "_readme": "https://github.com/ctn-0094/ctnote/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "magrittr",
    "rlang",
    "stringi",
    "stringr",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "library_abstinence_20220711.Rmd",
      "filename": "library_abstinence_20220711.html",
      "title": "CTNote Library: Abstinence Outcomes",
      "author": "Gabriel Odom, Laura Brandt, Sean Luo, and Ray Balise",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Abstinence from Substance Use Endpoints",
        "CTN-0094 Abstinence",
        "@fiellin_counseling_2006",
        "@kosten_buprenorphine_1993",
        "@krupitsky_injectable_2011 (A) and (B)",
        "Krupitsky et al., 2011 (A)",
        "Krupitsky et al., 2011 (B)",
        "@ling_buprenorphine_1998",
        "@lofwall_weekly_2018",
        "@mokri_medical_2016",
        "@schottenfeld_methadone_2005",
        "@schottenfeld_maintenance_2008 (A) and (B)",
        "Schottenfeld, Chawarski, & Mazlan, 2008 (A)",
        "Schottenfeld et al., 2008 (B)",
        "@shufman_efficacy_1994",
        "@weiss_adjunctive_2011 [CTN-0030]",
        "Computing Environment",
        "References"
      ],
      "created": "2022-07-11 17:27:59",
      "modified": "2023-02-10 17:02:47",
      "commits": 11
    },
    {
      "source": "library_reduction_20220630.Rmd",
      "filename": "library_reduction_20220630.html",
      "title": "CTNote Library: Reduction Outcomes",
      "author": "Gabriel Odom, Laura Brandt, Sean Luo, and Ray Balise",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Substance Use Reduction Endpoints",
        "@comer_injectable_2006",
        "@eissenberg_dose-related_1997",
        "@fiellin_counseling_2006",
        "@fudala_office-based_2003",
        "@haight_efficacy_2019",
        "@jaffe_methadyl_1972",
        "@johnson_controlled_1992",
        "@kosten_buprenorphine_1993",
        "@ling_buprenorphine_1998 (A) and (C)",
        "Ling et al., 1998 (A)",
        "Ling et al., 1998 (C)",
        "@ling_buprenorphine_2010",
        "@ling_methadyl_1976",
        "Original",
        "A Variant",
        "@lofwall_weekly_2018",
        "@mattick_buprenorphine_2003 (A) and (B)",
        "Mattick et al., 2003 (A)",
        "Mattick et al., 2003 (B)",
        "@pani_buprenorphine_2000 (A) and (B)",
        "Pani et al., 2000 (A)",
        "Pani et al., 2000 (B)",
        "@petitjean_double-blind_2001",
        "@preston_methadone_2000",
        "@schottenfeld_methadone_2005",
        "@schwartz_randomized_2006",
        "@shufman_efficacy_1994",
        "@soyka_retention_2008",
        "@strain_dose-response_1993",
        "@strain_comparison_1994",
        "@strain_buprenorphine_1996",
        "@strain_moderate-_1999",
        "@strang_supervised_2010",
        "@strang_extended-release_2019",
        "@tanum_effectiveness_2017",
        "@wolstein_randomized_2009",
        "@woody_extended_2008",
        "@zaks_levomethadyl_1972",
        "Computing Environment",
        "References"
      ],
      "created": "2022-06-30 21:17:02",
      "modified": "2022-12-16 17:36:09",
      "commits": 13
    },
    {
      "source": "library_relapse_20220711.Rmd",
      "filename": "library_relapse_20220711.html",
      "title": "CTNote Library: Relapse Outcomes",
      "author": "Gabriel Odom, Laura Brandt, Sean Luo, and Ray Balise",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "\"Relapse to Substance Use\" Endpoints",
        "CTN-0094 Endpoints",
        "CTN-0094 Relapse",
        "CTN-0094 Dropout",
        "@johnson_controlled_1992",
        "@krupitsky_naltrexone_2004 and @krupitsky_naltrexone_2006",
        "@lee_extended-release_2016",
        "@lee_comparative_2018 [CTN-0051]",
        "@schottenfeld_maintenance_2008",
        "Computing Environment",
        "References"
      ],
      "created": "2022-07-11 17:27:59",
      "modified": "2022-11-23 22:08:21",
      "commits": 10
    }
  ],
  "_score": 4.7558748556724915,
  "_indexed": true,
  "_nocasepkg": "ctnote",
  "_universes": [
    "ctn-0094",
    "gabrielodom"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-26T09:51:20.000Z",
      "distro": "noble",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "113a1efaedafcb82551a666d69d5e34ea492bb8268f14373fd303fdb2adb1d9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-26T09:51:17.000Z",
      "distro": "noble",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "aacd4d047e892643e51c8858775f228f875c10964a51b8ab6cf6315c71d36dc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-26T09:50:54.000Z",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "e3a1fa9bae546ae56e5ae6409737a37f3959f09a3c34599fac3367efcc514d61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-26T09:50:52.000Z",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "7c5320776fcdd57666aaf3bbbb321b45d6e0db50a75cc87795614257eaf2de7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-26T09:51:12.000Z",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "b2de8c85f78cba3b1a3f8877feb962237ab7f2cfce0edf454ac656aeaa4fbe18",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-26T09:50:17.000Z",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "a8b1769afc77634666737eb51102d91ff0f8475d1ef4a845d1ead105ea3c9201",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-26T09:50:21.000Z",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "41145aadd35c06bd36631a3b1aa18a7b5ac9c51e81ba29bd54378f94aca096b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-26T09:50:28.000Z",
      "commit": "cf421a087e80e50607b77f26fd820750e70c7d1a",
      "fileid": "c9df991b704b4dde6d0cf6802db64a849cae77e9104f96bacf647223a3ff0f2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26444858520"
    }
  ]
}