{
  "_id": "6a1ea0001d7bb097a0a70660",
  "Package": "public.ctn0094extra",
  "Title": "Helper Files for the CTN-0094 Relational Database",
  "Version": "1.0.4",
  "Date": "2023-11-21",
  "Authors@R": "c(\nperson(\ngiven = \"Gabriel\", family = \"Odom\",\nrole = c(\"aut\", \"cre\"),\nemail = \"gabriel.j.odom@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1341-4555\")\n),\nperson(\ngiven = \"Raymond\", family = \"Balise\",\nrole = \"aut\",\nemail = \"balise@miami.edu\",\ncomment = c(ORCID = \"0000-0002-9856-5901\")\n)\n)",
  "Description": "Engineered features and \"helper\" functions ancillary to\nthe 'public.ctn0094data' package, extending this package for\nease of use (see\n<https://CRAN.R-project.org/package=public.ctn0094data>). This\n'public.ctn0094data' package contains harmonized datasets from\nsome of the National Institute of Drug Abuse's Clinical Trials\nNetwork (NIDA's CTN) projects. Specifically, the CTN-0094\nproject is to harmonize and de-identify clinical trials data\nfrom the CTN-0027, CTN-0030, and CTN-51 studies for opioid use\ndisorder. This current version is built from\n'public.ctn0094data' v. 1.0.6.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "URL": "https://ctn-0094.github.io/public.ctn0094extra/",
  "BugReports": "https://github.com/CTN-0094/public.ctn0094extra/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ctn-0094.r-universe.dev",
  "Date/Publication": "2023-11-22 14:14:36 UTC",
  "RemoteUrl": "https://github.com/ctn-0094/public.ctn0094extra",
  "RemoteRef": "HEAD",
  "RemoteSha": "236092d90141de283d655212c20d1c9359cb8ec5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 09:16:08 UTC",
    "User": "root"
  },
  "Author": "Gabriel Odom [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1341-4555>),\nRaymond Balise [aut] (ORCID: <https://orcid.org/0000-0002-9856-5901>)",
  "Maintainer": "Gabriel Odom <gabriel.j.odom@gmail.com>",
  "MD5sum": "17c0c606edc72d24d00b381415c856b3",
  "_user": "ctn-0094",
  "_type": "src",
  "_file": "public.ctn0094extra_1.0.4.tar.gz",
  "_fileid": "312a24ab374e8c26b9f64c3cb08ee9e31391e224bf55a50f21e32fed359aae5a",
  "_filesize": 462793,
  "_sha256": "312a24ab374e8c26b9f64c3cb08ee9e31391e224bf55a50f21e32fed359aae5a",
  "_created": "2026-06-02T09:16:08.000Z",
  "_published": "2026-06-02T09:18:56.505Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79038465135,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7353748734"
    },
    {
      "job": 79038465053,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7353748370"
    },
    {
      "job": 79038465101,
      "time": 73,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7353728514"
    },
    {
      "job": 79038465278,
      "time": 82,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7353731436"
    },
    {
      "job": 79037853282,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353701045"
    },
    {
      "job": 79038465127,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353741742"
    },
    {
      "job": 79038465085,
      "time": 78,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7353730282"
    },
    {
      "job": 79038465117,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7353736352"
    },
    {
      "job": 79038465170,
      "time": 83,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7353731870"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ctn-0094/public.ctn0094extra",
  "_commit": {
    "id": "236092d90141de283d655212c20d1c9359cb8ec5",
    "author": "gabrielodom <gabriel.odom@fiu.edu>",
    "committer": "gabrielodom <gabriel.odom@fiu.edu>",
    "message": "Accepted to CRAN\n",
    "time": 1700662476
  },
  "_maintainer": {
    "name": "Gabriel Odom",
    "email": "gabriel.j.odom@gmail.com",
    "login": "gabrielodom",
    "twitter": "@RevDocGabriel",
    "description": "PhD statistician. Avid learner. Ordained priest.",
    "uuid": 24464126,
    "orcid": "0000-0003-1341-4555"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "public.ctn0094data",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    }
  ],
  "_owner": "ctn-0094",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "gabrielodom",
      "count": 18,
      "uuid": 24464126
    }
  ],
  "_userbio": {
    "uuid": 69799326,
    "type": "organization",
    "name": "CTN-0094",
    "description": "This is the CTN 94 org"
  },
  "_downloads": {
    "count": 127,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/public.ctn0094extra"
  },
  "_devurl": "https://github.com/ctn-0094/public.ctn0094extra",
  "_pkgdown": "https://ctn-0094.github.io/public.ctn0094extra/",
  "_searchresults": 18,
  "_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/public.ctn0094extra.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ctn-0094/public.ctn0094extra",
  "_realowner": "ctn-0094",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.4",
      "date": "2023-11-22"
    }
  ],
  "_exports": [
    "CreateCTN30ProtocolHistory",
    "CreateHistory",
    "CreateProtocolHistory",
    "loadRawData",
    "MarkMissing",
    "MarkUse"
  ],
  "_datasets": [
    {
      "name": "derived_inductDelay",
      "title": "Derived Induction Delay Data",
      "object": "derived_inductDelay",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "who",
        "treatment",
        "inductDelay"
      ],
      "rows": 2492,
      "table": true,
      "tojson": true
    },
    {
      "name": "derived_raceEthnicity",
      "title": "Derived Patient Race and Ethnicity Data",
      "object": "derived_raceEthnicity",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "who",
        "race",
        "is_hispanic",
        "race_ethnicity"
      ],
      "rows": 3560,
      "table": true,
      "tojson": true
    },
    {
      "name": "derived_visitImputed",
      "title": "Imputed Patient Visit Data",
      "object": "derived_visitImputed",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "who",
        "when",
        "visitImputed"
      ],
      "rows": 87891,
      "table": true,
      "tojson": true
    },
    {
      "name": "derived_weeklyOpioidPattern",
      "title": "Patient UDS Opioid Weekly Pattern Data",
      "object": "derived_weeklyOpioidPattern",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "who",
        "startWeek",
        "randWeek1",
        "randWeek2",
        "endWeek",
        "Baseline",
        "Phase_1",
        "Phase_2"
      ],
      "rows": 3560,
      "table": true,
      "tojson": true
    },
    {
      "name": "derived_weeklyTLFBPattern",
      "title": "Patient TLFB Opioid Weekly Pattern Data",
      "object": "derived_weeklyTLFBPattern",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "who",
        "startWeek",
        "randWeek1",
        "randWeek2",
        "endWeek",
        "Baseline",
        "Phase_1",
        "Phase_2"
      ],
      "rows": 3560,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CreateCTN30ProtocolHistory",
      "title": "Create a Subject History Table by Protocol",
      "topics": [
        "CreateCTN30ProtocolHistory"
      ]
    },
    {
      "page": "CreateHistory",
      "title": "Create a Subject History Table",
      "topics": [
        "CreateHistory"
      ]
    },
    {
      "page": "CreateProtocolHistory",
      "title": "Create a Subject History Table by Protocol",
      "topics": [
        "CreateProtocolHistory"
      ]
    },
    {
      "page": "derived_inductDelay",
      "title": "Derived Induction Delay Data",
      "topics": [
        "derived_inductDelay"
      ]
    },
    {
      "page": "derived_raceEthnicity",
      "title": "Derived Patient Race and Ethnicity Data",
      "topics": [
        "derived_raceEthnicity"
      ]
    },
    {
      "page": "derived_visitImputed",
      "title": "Imputed Patient Visit Data",
      "topics": [
        "derived_visitImputed"
      ]
    },
    {
      "page": "derived_weeklyOpioidPattern",
      "title": "Patient UDS Opioid Weekly Pattern Data",
      "topics": [
        "derived_weeklyOpioidPattern"
      ]
    },
    {
      "page": "derived_weeklyTLFBPattern",
      "title": "Patient TLFB Opioid Weekly Pattern Data",
      "topics": [
        "derived_weeklyTLFBPattern"
      ]
    },
    {
      "page": "loadRawData",
      "title": "Load Data Sets into a List",
      "topics": [
        "loadRawData"
      ]
    },
    {
      "page": "MarkMissing",
      "title": "Code Empty Visit Values as \"Missing\" as Appropriate",
      "topics": [
        "MarkMissing"
      ]
    },
    {
      "page": "MarkUse",
      "title": "Mark Use Day by Subject",
      "topics": [
        "MarkUse"
      ]
    }
  ],
  "_readme": "https://github.com/ctn-0094/public.ctn0094extra/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "public.ctn0094data",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "summarizing_substance_use.Rmd",
      "filename": "summarizing_substance_use.html",
      "title": "Summarizing Longitudinal Substance Use as Quinary Words",
      "author": "Gabriel Odom and Raymond Balise",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Calculate Induction Delay",
        "Data Setup",
        "Mark Study Days with Administered Treatment Drugs",
        "Measure Difference from Randomization Day to Day of First Dose",
        "Partition Visit Weeks and Impute Missing Visits",
        "\"Backbone\" Timeline of Clinical Protocol",
        "CTN-0027 and CTN-0051 Protocols",
        "CTN-0030 Protocol",
        "Combined \"Backbone\"",
        "Mark Missing Visits",
        "Add First Randomization Day",
        "Add on the Visit Days",
        "Impute the Missing Visits",
        "Clean up the Results",
        "Summarize Weekly Substance Use Results",
        "Participant's Assigned Treatment",
        "Counting Days Since Randomization",
        "Symbolically Summarize Participant UDS by Study Week",
        "Symbolically Summarize Non-Randomized Participants UDS by Study Week",
        "Final Product",
        "Wrapping Up"
      ],
      "created": "2023-09-21 21:30:58",
      "modified": "2023-11-14 19:27:04",
      "commits": 5
    }
  ],
  "_score": 3.9542425094393248,
  "_indexed": true,
  "_nocasepkg": "public.ctn0094extra",
  "_universes": [
    "ctn-0094",
    "gabrielodom"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-02T09:18:14.000Z",
      "distro": "noble",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "c7f423dcae7fc4e0de6b81e522f55e47993f868f158cdf8c9e4250e8313670f6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-06-02T09:18:14.000Z",
      "distro": "noble",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "8f887e9105f24b116905e165f889f9e55c89c0bb70af2afd098014b9811597c9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-06-02T09:17:26.000Z",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "2bc5648ef77841856444fa61cdfa86cace5d7cd89a31738db2ff4b93dafd44d2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-06-02T09:17:33.000Z",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "c3bedaddbb921d4bfc9d871a0c67298fb93c035523124c79a0db2191690632e5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-06-02T09:18:14.000Z",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "14aeb2f70290e8314c93e2c0551ff1b2e34a42b6a1915baa0855ae0398de6f68",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-02T09:17:19.000Z",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "738071f92424fcc5ff14f6fb7f62ae26d35494d9080d1fd12f11933241179230",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-02T09:17:35.000Z",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "65ff57a45da051f55e10dff0eecb8df19d1f58a6560a50c29dc4ca72d9f693a9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-06-02T09:17:22.000Z",
      "commit": "236092d90141de283d655212c20d1c9359cb8ec5",
      "fileid": "7dd6e1e4ad9097504786a00ba59de0fd7b5a44686baf2439806cd5f6df1e9ad6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctn-0094/actions/runs/26810171386"
    }
  ]
}