{
  "_id": "6aca60f7fe5cc25786e881eb",
  "Package": "ccwr",
  "Title": "Clone-Censor-Weight Methods for Target Trial Emulation",
  "Version": "0.0.2",
  "Authors@R": "c(\nperson(\"Sang Ho\", \"Park\", email = \"shstat1729@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Youngrok\", \"Lee\", role = \"aut\"),\nperson(\"Jihyeon\", \"Baek\", role = \"aut\"),\nperson(\"Hye Won\", \"Yang\", role = \"aut\"),\nperson(\"Donghoon\", \"Jeong\", role = \"aut\")\n)",
  "Description": "Provides methods for clone-censor-weight analyses that\nemulate target trials with grace-period treatment strategies\nusing observational time-to-event data. Tools clone\nparticipants across strategies, apply strategy-specific\nartificial censoring, and estimate inverse probability of\ncensoring weights using pooled logistic or Cox models, fit\nweighted outcome models, and obtain subject-level bootstrap\nconfidence intervals by repeating the complete analysis. The\nmethods are described by Maringe et al. (2020)\n<doi:10.1093/ije/dyaa057> and Gaber et al. (2024)\n<doi:10.1002/cam4.70461>.",
  "License": "MIT + file LICENSE",
  "Copyright": "See inst/COPYRIGHTS",
  "URL": "https://github.com/CausalInferenceLab/ccwr",
  "BugReports": "https://github.com/CausalInferenceLab/ccwr/issues",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "RoxygenNote": "8.0.0",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 15:57:05 UTC",
    "User": "root"
  },
  "Author": "Sang Ho Park [aut, cre], Youngrok Lee [aut], Jihyeon Baek\n[aut], Hye Won Yang [aut], Donghoon Jeong [aut]",
  "Maintainer": "Sang Ho Park <shstat1729@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-09-03 14:38:29 UTC",
  "RemoteUrl": "https://github.com/cran/ccwr",
  "RemoteRef": "HEAD",
  "RemoteSha": "1fb6e3b2c29c1ea34f68a3eb7226fa0702667614",
  "_user": "cran",
  "_type": "src",
  "_file": "ccwr_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/495bdc0f8d9266ad1b54528ea0bd3b4448afcbdc8f2ecced5d03bfbb8722027e",
  "_filesize": 279412,
  "_sha256": "495bdc0f8d9266ad1b54528ea0bd3b4448afcbdc8f2ecced5d03bfbb8722027e",
  "_expires": "2027-01-18T15:59:48.000Z",
  "_created": "2026-10-10T15:57:05.000Z",
  "_published": "2026-10-10T15:59:51.020Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38065452497",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114252754363,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11674933005"
    },
    {
      "job": 114252754321,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675072768"
    },
    {
      "job": 114252122109,
      "time": 193,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674432528"
    },
    {
      "job": 114252754310,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11675122639"
    },
    {
      "job": 114252754339,
      "time": 83,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11674322802"
    },
    {
      "job": 114252754315,
      "time": 94,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674867886"
    }
  ],
  "_upstream": "https://github.com/cran/ccwr",
  "_commit": {
    "id": "1fb6e3b2c29c1ea34f68a3eb7226fa0702667614",
    "author": "Sang Ho Park <shstat1729@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.2\n",
    "time": 1788446309
  },
  "_maintainer": {
    "name": "Sang Ho Park",
    "email": "shstat1729@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.0.2",
      "date": "2026-09-03"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 385,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ccwr"
  },
  "_devurl": "https://github.com/causalinferencelab/ccwr",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/ccwr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/causalinferencelab/ccwr",
  "_realowner": "causalinferencelab",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    "apply_logics",
    "clone_arms",
    "create_censoring_logics_A",
    "create_final_data",
    "create_policy_A",
    "emul_estimate",
    "emul_estimate_bootstrap",
    "estimate_censoring",
    "make_surv_response",
    "read_trial_data",
    "weight_cases"
  ],
  "_datasets": [
    {
      "name": "lungcancer",
      "title": "Simulated lung cancer patients data by Maringe et al. (2020)",
      "object": "lungcancer",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "surgery",
        "timetosurgery",
        "death",
        "sex",
        "charlson",
        "perf",
        "stage",
        "emergency",
        "fup_obs",
        "age",
        "deprivation"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "patients13",
      "title": "13 types of patient records in Maringe et al. (2020)",
      "object": "patients13",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "surgery",
        "time_to_surgery",
        "death",
        "followup"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "apply_logics",
      "title": "Apply case_when logics (e.g. policy, censoring) to clones",
      "topics": [
        "apply_logics"
      ]
    },
    {
      "page": "clone_arms",
      "title": "Duplicate data frame for each treatment arm to emulate",
      "topics": [
        "clone_arms"
      ]
    },
    {
      "page": "create_censoring_logics_A",
      "title": "Generate censoring logic for scenario A",
      "topics": [
        "create_censoring_logics_A"
      ]
    },
    {
      "page": "create_final_data",
      "title": "Create training data for censoring probability estimation",
      "topics": [
        "create_final_data"
      ]
    },
    {
      "page": "create_policy_A",
      "title": "Generate clone policy for scenario A",
      "topics": [
        "create_policy_A"
      ]
    },
    {
      "page": "emul_estimate",
      "title": "Estimate the emulated trial effect",
      "topics": [
        "emul_estimate"
      ]
    },
    {
      "page": "emul_estimate_bootstrap",
      "title": "Bootstrap a complete clone-censor-weight analysis",
      "topics": [
        "emul_estimate_bootstrap"
      ]
    },
    {
      "page": "estimate_censoring",
      "title": "Estimate censoring probabilities",
      "topics": [
        "estimate_censoring"
      ]
    },
    {
      "page": "lungcancer",
      "title": "Simulated lung cancer patients data by Maringe et al. (2020)",
      "topics": [
        "lungcancer"
      ]
    },
    {
      "page": "make_surv_response",
      "title": "Construct a survival response",
      "topics": [
        "make_surv_response"
      ]
    },
    {
      "page": "patients13",
      "title": "13 types of patient records in Maringe et al. (2020)",
      "topics": [
        "patients13"
      ]
    },
    {
      "page": "read_trial_data",
      "title": "Read trial-style data from CSV",
      "topics": [
        "read_trial_data"
      ]
    },
    {
      "page": "weight_cases",
      "title": "Add inverse probability of censoring weights",
      "topics": [
        "weight_cases"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ccwr/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "readr",
    "rlang",
    "survival",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "ccwr.Rmd",
      "filename": "ccwr.html",
      "title": "An Overview of the ccwr Package for R",
      "author": "Jihyeon Baek, Hye Won Yang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Target trial emulation",
        "The problem it solves",
        "Data",
        "Reading your own data",
        "Clone-censor-weighting",
        "Clone",
        "Censor",
        "The intuition, traced by hand",
        "Deriving the grace-period rules",
        "Expanding to person-time",
        "Weight",
        "Estimating the effect",
        "Summary",
        "References"
      ],
      "created": "2026-09-03 14:38:29",
      "modified": "2026-09-03 14:38:29",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "ccwr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://causalinferencelab.r-universe.dev/ccwr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-10T15:58:57.000Z",
      "distro": "resolute",
      "commit": "1fb6e3b2c29c1ea34f68a3eb7226fa0702667614",
      "fileid": "https://r2.ropensci.org/0026c3b594685804c31cb974db09e3359b0651cab970e9f843c8e586a70b3a78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38065452497"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-10T15:59:00.000Z",
      "distro": "resolute",
      "commit": "1fb6e3b2c29c1ea34f68a3eb7226fa0702667614",
      "fileid": "https://r2.ropensci.org/d2c7b52551c6ebdbb4be92c124006866ff512538fc6523b7348dc554e75904ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38065452497"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-10-10T15:58:58.000Z",
      "commit": "1fb6e3b2c29c1ea34f68a3eb7226fa0702667614",
      "fileid": "https://r2.ropensci.org/14ace19b78536ff6f40cb7b0206f7d05395f0cf89133ab44c7bfb220343a88bb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38065452497"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-10T15:58:13.000Z",
      "commit": "1fb6e3b2c29c1ea34f68a3eb7226fa0702667614",
      "fileid": "https://r2.ropensci.org/6b254df171f41efda4c9eb2689a6948dc5f68b51e4e22a4886226d9fba8b881d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38065452497"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-10T15:58:24.000Z",
      "commit": "1fb6e3b2c29c1ea34f68a3eb7226fa0702667614",
      "fileid": "https://r2.ropensci.org/5a5373c5bd63225765549476da29ee37eb1420c02983320da3546be9d9b8fc3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38065452497"
    }
  ]
}