{
  "_id": "6a3571b53efcd9bda43eb4c0",
  "Package": "daoh",
  "Type": "Package",
  "Title": "Days Alive and Out of Hospital (DAOH) Calculation",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"David\", \"Cumin\", email = \"d.cumin@auckland.ac.nz\", role = c(\"aut\", \"cre\"))\n)",
  "Description": "Calculates Days Alive and Out of Hospital (DAOH) from\nadministrative admission/discharge/mortality data using three\nalgorithms (nights, days, exact) and three death-handling\napproaches (midday, midnight, zero). Includes tools for\ncomparing methods (Bland-Altman, ICC, reclassification), and\nplotting.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/davecumin/daoh",
  "BugReports": "https://github.com/davecumin/daoh/issues",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-19 16:40:54 UTC",
    "User": "root"
  },
  "Author": "David Cumin [aut, cre]",
  "Maintainer": "David Cumin <d.cumin@auckland.ac.nz>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-19 12:20:24 UTC",
  "RemoteUrl": "https://github.com/cran/daoh",
  "RemoteRef": "HEAD",
  "RemoteSha": "9358b191f2fb355dd454eb0efcfeb60826fe4d0e",
  "MD5sum": "8cccaf7e329cafa6527d09f769e681aa",
  "_user": "cran",
  "_type": "src",
  "_file": "daoh_0.1.0.tar.gz",
  "_fileid": "64aee2d1a81bf73052a2c114566ba458b18e7dc08c00850eb9f6d7ab0d4ee98f",
  "_filesize": 339982,
  "_sha256": "64aee2d1a81bf73052a2c114566ba458b18e7dc08c00850eb9f6d7ab0d4ee98f",
  "_created": "2026-06-19T16:40:54.000Z",
  "_published": "2026-06-19T16:43:33.649Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82389993429,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7754666763"
    },
    {
      "job": 82389993459,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754665790"
    },
    {
      "job": 82389591381,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754634727"
    },
    {
      "job": 82389993421,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754660517"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27837730293",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/daoh",
  "_commit": {
    "id": "9358b191f2fb355dd454eb0efcfeb60826fe4d0e",
    "author": "David Cumin <d.cumin@auckland.ac.nz>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1781871624
  },
  "_maintainer": {
    "name": "David Cumin",
    "email": "d.cumin@auckland.ac.nz",
    "login": "davidcumin",
    "description": "",
    "uuid": 33859311
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "irr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-06-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "davidcumin",
      "count": 1,
      "uuid": 33859311
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/daoh"
  },
  "_devurl": "https://github.com/davecumin/daoh",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/daoh.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-19"
    }
  ],
  "_exports": [
    "bland_altman_daoh",
    "calc_daoh",
    "daoh_icc",
    "daoh_reclassify",
    "daoh_reclassify_centile",
    "daoh_summary",
    "hospital_time",
    "load_example",
    "merge_intervals",
    "plot_daoh_ba",
    "plot_daoh_dist",
    "plot_daoh_reclassify"
  ],
  "_datasets": [
    {
      "name": "example_daystay",
      "title": "Synthetic patient example: single day-stay admission",
      "object": "example_daystay",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "example_death",
      "title": "Synthetic patient example: multiple admissions and death",
      "object": "example_death",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "example_population",
      "title": "Synthetic population: 500 patients, mixed admission patterns",
      "object": "example_population",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bland_altman_daoh",
      "title": "Bland-Altman statistics for two DAOH variants",
      "topics": [
        "bland_altman_daoh"
      ]
    },
    {
      "page": "calc_daoh",
      "title": "Calculate Days Alive and Out of Hospital (DAOH)",
      "topics": [
        "calc_daoh"
      ]
    },
    {
      "page": "daoh_icc",
      "title": "Intraclass Correlation Coefficient across DAOH methods",
      "topics": [
        "daoh_icc"
      ]
    },
    {
      "page": "daoh_reclassify",
      "title": "Quartile reclassification across two DAOH methods",
      "topics": [
        "daoh_reclassify"
      ]
    },
    {
      "page": "daoh_reclassify_centile",
      "title": "Centile-boundary reclassification across two DAOH methods",
      "topics": [
        "daoh_reclassify_centile"
      ]
    },
    {
      "page": "daoh_summary",
      "title": "Compute DAOH summary statistics across all methods and periods",
      "topics": [
        "daoh_summary"
      ]
    },
    {
      "page": "example_daystay",
      "title": "Synthetic patient example: single day-stay admission",
      "topics": [
        "example_daystay"
      ]
    },
    {
      "page": "example_death",
      "title": "Synthetic patient example: multiple admissions and death",
      "topics": [
        "example_death"
      ]
    },
    {
      "page": "example_population",
      "title": "Synthetic population: 500 patients, mixed admission patterns",
      "topics": [
        "example_population"
      ]
    },
    {
      "page": "hospital_time",
      "title": "Convert admission/discharge date pairs to numeric time intervals",
      "topics": [
        "hospital_time"
      ]
    },
    {
      "page": "load_example",
      "title": "Load a built-in example dataset",
      "topics": [
        "load_example"
      ]
    },
    {
      "page": "merge_intervals",
      "title": "Merge overlapping or near-adjacent time intervals",
      "topics": [
        "merge_intervals"
      ]
    },
    {
      "page": "plot_daoh_ba",
      "title": "Plot a Bland-Altman comparison of two DAOH methods",
      "topics": [
        "plot_daoh_ba"
      ]
    },
    {
      "page": "plot_daoh_dist",
      "title": "Plot the distribution of DAOH scores",
      "topics": [
        "plot_daoh_dist"
      ]
    },
    {
      "page": "plot_daoh_reclassify",
      "title": "Visualise quartile reclassification between two DAOH methods",
      "topics": [
        "plot_daoh_reclassify"
      ]
    }
  ],
  "_readme": "https://github.com/cran/daoh/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting_started.Rmd",
      "filename": "getting_started.html",
      "title": "Getting started with the daoh package",
      "author": "David Cumin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Core formula",
        "Example 1 — Day-stay: the 1-day difference",
        "Example 2 — Death handling",
        "Example 3 — Population-level analysis",
        "Compare nights vs days",
        "Bland-Altman analysis",
        "Quartile reclassification",
        "Distribution plot",
        "Recommended reporting"
      ],
      "created": "2026-06-19 12:20:24",
      "modified": "2026-06-19 12:20:24",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "daoh",
  "_universes": [
    "cran",
    "davidcumin",
    "davecumin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-19T16:43:00.000Z",
      "distro": "noble",
      "commit": "9358b191f2fb355dd454eb0efcfeb60826fe4d0e",
      "fileid": "4a6f4368d6153999bd8916be7d2299a2355535c39a94f7d6892a5868d407599d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837730293"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-19T16:42:57.000Z",
      "distro": "noble",
      "commit": "9358b191f2fb355dd454eb0efcfeb60826fe4d0e",
      "fileid": "34a092731034b7296b50796aa6d702c3b1c85c0ec2a90d81e613e2bbda2cc93d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837730293"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-19T16:42:50.000Z",
      "commit": "9358b191f2fb355dd454eb0efcfeb60826fe4d0e",
      "fileid": "a5b9b21a9ccdf967b1c36b36e1f15f96db0ce10ed755a05335a7d6da3d24253d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837730293"
    }
  ]
}