{
  "_id": "6adbee40077e75fa285b04c4",
  "Package": "hvtiRdatabuild",
  "Type": "Package",
  "Title": "Build and Verify Analytic Datasets for the HVTI CORR Group",
  "Version": "0.3.2",
  "Date": "2026-10-20",
  "Authors@R": "c(\nperson(\n\"John\", \"Ehrlinger\",\nemail = \"john.ehrlinger@gmail.com\",\nrole = c(\"aut\", \"cre\")\n)\n)",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/ehrlinger/hvtiRdatabuild,\nhttps://ehrlinger.github.io/hvtiRdatabuild/",
  "BugReports": "https://github.com/ehrlinger/hvtiRdatabuild/issues",
  "Description": "Builds analysis-ready clinical datasets for the clinical\ninvestigations statistics group within The Heart and Vascular\nInstitute at the Cleveland Clinic, and verifies them against\nthe legacy 'SAS' datasets they replace.",
  "Remotes": [
    "ehrlinger/hvtiPlotR",
    "ehrlinger/hvtiRutilities"
  ],
  "VignetteBuilder": "quarto",
  "SystemRequirements": "Quarto command line tool\n(<https://github.com/quarto-dev/quarto-cli>)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev zlib1g-dev",
  "Repository": "https://ehrlinger.r-universe.dev",
  "Date/Publication": "2026-10-23 21:02:57 UTC",
  "RemoteUrl": "https://github.com/ehrlinger/hvtiRdatabuild",
  "RemoteRef": "HEAD",
  "RemoteSha": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-23 22:32:00 UTC",
    "User": "root"
  },
  "Author": "John Ehrlinger [aut, cre]",
  "Maintainer": "John Ehrlinger <john.ehrlinger@gmail.com>",
  "_user": "ehrlinger",
  "_type": "src",
  "_file": "hvtiRdatabuild_0.3.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/e4e2e39dd2017fb8609aa3269aea2f50c907490fb7c2135804e089b1b3fbf785",
  "_filesize": 360428,
  "_sha256": "e4e2e39dd2017fb8609aa3269aea2f50c907490fb7c2135804e089b1b3fbf785",
  "_expires": "2027-01-31T23:31:09.000Z",
  "_created": "2026-10-23T22:32:00.000Z",
  "_published": "2026-10-23T23:31:11.824Z",
  "_upstream": "https://github.com/ehrlinger/hvtiRdatabuild",
  "_status": "success",
  "_maintainer": {
    "name": "John Ehrlinger",
    "email": "john.ehrlinger@gmail.com",
    "login": "ehrlinger",
    "bluesky": "@ehrlinger.bsky.social",
    "linkedin": "in/ehrlinger",
    "twitter": "@johnehrlinger",
    "description": "Working Data Scientist. Statistician applying statistical machine learning. Mechanical Engineer Fluid Mechanics and Dynamics. Physics nerd.\n\n",
    "uuid": 1110676
  },
  "_jobs": [
    {
      "job": 120689727021,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12536995264"
    },
    {
      "job": 120689727138,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12535723780"
    },
    {
      "job": 120689727097,
      "time": 2114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12538445496"
    },
    {
      "job": 120689727146,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12535914060"
    },
    {
      "job": 120686939649,
      "time": 468,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12535579888"
    },
    {
      "job": 120689727056,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12535893140"
    },
    {
      "job": 120689727115,
      "time": 149,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12536706277"
    },
    {
      "job": 120689727206,
      "time": 3408,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12538836629"
    },
    {
      "job": 120689727220,
      "time": 3510,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12539036409"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373",
  "_commit": {
    "id": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
    "author": "John Ehrlinger <john.ehrlinger@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #98 from ehrlinger/feat/analysis-set-registered-only\n\nfeat(write_analysis_set): build only from registered data",
    "time": 1792789377
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "filelock",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "hvtiRutilities",
      "version": ">= 1.5.3",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "arrow",
      "role": "Suggests"
    },
    {
      "package": "duckdb",
      "role": "Suggests"
    },
    {
      "package": "hvtiPlotR",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "keyring",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "odbc",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyselect",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ehrlinger",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-32",
      "n": 7
    },
    {
      "week": "2026-33",
      "n": 3
    },
    {
      "week": "2026-34",
      "n": 7
    },
    {
      "week": "2026-35",
      "n": 11
    },
    {
      "week": "2026-36",
      "n": 18
    },
    {
      "week": "2026-37",
      "n": 16
    },
    {
      "week": "2026-38",
      "n": 6
    },
    {
      "week": "2026-39",
      "n": 7
    },
    {
      "week": "2026-40",
      "n": 3
    },
    {
      "week": "2026-41",
      "n": 10
    },
    {
      "week": "2026-42",
      "n": 11
    },
    {
      "week": "2026-43",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.2.2",
      "date": "2026-09-16"
    },
    {
      "name": "v0.2.3",
      "date": "2026-09-21"
    },
    {
      "name": "v0.2.4",
      "date": "2026-09-29"
    },
    {
      "name": "v0.3.0",
      "date": "2026-10-12"
    },
    {
      "name": "v0.3.1",
      "date": "2026-10-14"
    },
    {
      "name": "v0.3.2",
      "date": "2026-10-20"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ehrlinger",
      "count": 413,
      "uuid": 1110676
    },
    {
      "user": "claude",
      "count": 3,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 1110676,
    "type": "user",
    "name": "John Ehrlinger",
    "followers": 61,
    "description": "Working Data Scientist. Statistician applying statistical machine learning. Mechanical Engineer Fluid Mechanics and Dynamics. Physics nerd.\r\n\r\n"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hvtiRdatabuild"
  },
  "_devurl": "https://github.com/ehrlinger/hvtirdatabuild",
  "_pkgdown": "https://ehrlinger.github.io/hvtiRdatabuild/",
  "_searchresults": 7,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hvtiRdatabuild.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "append_cohort_stage",
    "backfill_corrections",
    "build_dataset",
    "cohort_summary",
    "compare_built",
    "decide_correction",
    "derive_vars",
    "dw_connect",
    "dw_modules",
    "dw_pull",
    "lift_master",
    "new_cohort_record",
    "propose_correction",
    "publish_dataset",
    "read_analysis_set",
    "read_master_config",
    "read_study_config",
    "snapshot_master",
    "snapshot_oracle",
    "withdraw_dataset_release",
    "write_analysis_set"
  ],
  "_help": [
    {
      "page": "append_cohort_stage",
      "title": "Append an outcome stage to a cohort history",
      "topics": [
        "append_cohort_stage"
      ]
    },
    {
      "page": "backfill_corrections",
      "title": "Backfill a master's corrections from its SAS build, and regenerate its view",
      "topics": [
        "backfill_corrections"
      ]
    },
    {
      "page": "build_dataset",
      "title": "Assemble the patient-level dataset",
      "topics": [
        "build_dataset"
      ]
    },
    {
      "page": "cohort_summary",
      "title": "Summarize cohort attrition without patient identifiers",
      "topics": [
        "cohort_summary"
      ]
    },
    {
      "page": "compare_built",
      "title": "Compare an R-built dataset against a SAS oracle",
      "topics": [
        "compare_built"
      ]
    },
    {
      "page": "decide_correction",
      "title": "Decide a correction: accept, reject, supersede or bake it",
      "topics": [
        "decide_correction"
      ]
    },
    {
      "page": "derive_vars",
      "title": "Apply study-specific variable derivations",
      "topics": [
        "derive_vars"
      ]
    },
    {
      "page": "dw_connect",
      "title": "Open a connection to the data warehouse",
      "topics": [
        "dw_connect"
      ]
    },
    {
      "page": "dw_modules",
      "title": "List the available warehouse modules",
      "topics": [
        "dw_modules"
      ]
    },
    {
      "page": "dw_pull",
      "title": "Pull the enabled warehouse modules for a study",
      "topics": [
        "dw_pull"
      ]
    },
    {
      "page": "lift_master",
      "title": "Lift a master's parquet snapshot into the warehouse as a view",
      "topics": [
        "lift_master"
      ]
    },
    {
      "page": "new_cohort_record",
      "title": "Create an ordered cohort history",
      "topics": [
        "new_cohort_record"
      ]
    },
    {
      "page": "print.build_result",
      "title": "Print a built dataset result without patient values",
      "topics": [
        "print.build_result"
      ]
    },
    {
      "page": "print.built_comparison",
      "title": "Print a dataset comparison",
      "topics": [
        "print.built_comparison"
      ]
    },
    {
      "page": "print.derive_result",
      "title": "Print a derived dataset result without patient values",
      "topics": [
        "print.derive_result"
      ]
    },
    {
      "page": "print.pull_result",
      "title": "Print a pull result",
      "topics": [
        "print.pull_result"
      ]
    },
    {
      "page": "propose_correction",
      "title": "Propose a correction to a single cell of a master",
      "topics": [
        "propose_correction"
      ]
    },
    {
      "page": "publish_dataset",
      "title": "Publish an immutable dataset release",
      "topics": [
        "publish_dataset"
      ]
    },
    {
      "page": "read_analysis_set",
      "title": "Read an analysis set",
      "topics": [
        "read_analysis_set"
      ]
    },
    {
      "page": "read_master_config",
      "title": "Read a master dataset's configuration",
      "topics": [
        "read_master_config"
      ]
    },
    {
      "page": "read_study_config",
      "title": "Read and validate a study configuration",
      "topics": [
        "read_study_config"
      ]
    },
    {
      "page": "snapshot_master",
      "title": "Snapshot a master dataset to parquet, with its lineage",
      "topics": [
        "snapshot_master"
      ]
    },
    {
      "page": "snapshot_oracle",
      "title": "Freeze a SAS-built dataset as a checksummed parquet oracle",
      "topics": [
        "snapshot_oracle"
      ]
    },
    {
      "page": "str.build_result",
      "title": "Safely inspect a built dataset result",
      "topics": [
        "str.build_result"
      ]
    },
    {
      "page": "str.built_comparison",
      "title": "Structure of a dataset comparison, without identifiers",
      "topics": [
        "str.built_comparison"
      ]
    },
    {
      "page": "str.cohort_record",
      "title": "Safely inspect a cohort record",
      "topics": [
        "str.cohort_record"
      ]
    },
    {
      "page": "str.derive_result",
      "title": "Safely inspect a derived dataset result",
      "topics": [
        "str.derive_result"
      ]
    },
    {
      "page": "withdraw_dataset_release",
      "title": "Withdraw a published dataset release",
      "topics": [
        "withdraw_dataset_release"
      ]
    },
    {
      "page": "write_analysis_set",
      "title": "Write an analysis set",
      "topics": [
        "write_analysis_set"
      ]
    }
  ],
  "_readme": "https://github.com/ehrlinger/hvtiRdatabuild/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cellranger",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "DBI",
    "digest",
    "dplyr",
    "filelock",
    "forcats",
    "generics",
    "glue",
    "haven",
    "hms",
    "hvtiRutilities",
    "jsonlite",
    "labelled",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "vroom",
    "withr",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "coming-from-sas.qmd",
      "filename": "coming-from-sas.html",
      "title": "Coming from SAS",
      "engine": "quarto::html",
      "headings": [
        "Who this is for",
        "The model shift",
        "Idiom translation",
        "Build and derive with study-specific code",
        "Port the downstream dataset, not its first consumer",
        "The traps",
        "Missing sorts low",
        "Character comparison is blank-padded in SAS",
        "SAS has no missing character value",
        "MERGE is not a join",
        "Dates use different origins",
        "Automatic variables do not exist in R",
        "length 4 silently truncates",
        "Verifying your own port"
      ],
      "created": "2026-08-05 09:08:27",
      "modified": "2026-10-12 14:13:53",
      "commits": 6
    },
    {
      "source": "master-datasets.qmd",
      "filename": "master-datasets.html",
      "title": "Master datasets",
      "engine": "quarto::html",
      "headings": [
        "What a master is, and why a view",
        "master.yml",
        "Phase 0: snapshot_master() and lineage from the log",
        "Phases 1 and 2: lift_master() and backfill_corrections(), dry run first",
        "The everyday workflow: propose_correction(), decide_correction(), the stale view",
        "What is not done yet"
      ],
      "created": "2026-09-24 21:12:48",
      "modified": "2026-09-24 21:12:48",
      "commits": 1
    }
  ],
  "_score": 4.079181246047625,
  "_indexed": true,
  "_nocasepkg": "hvtirdatabuild",
  "_universes": [
    "ehrlinger"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-10-23T22:34:21.000Z",
      "distro": "resolute",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/d7230893a0de333c76f898d76677b25cc3c29eb16bcfde30438f4f98e180cb64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-10-23T22:34:17.000Z",
      "distro": "resolute",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/7ca2f36d773fdf46379ff2e86624ab289e2e08bcef6a3bdc154e5597344f5b05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-10-23T23:07:57.000Z",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/aaab18781216b769368a27e7af47af97c80adc3d48ddbaaa9e6b70abaae6ded4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-10-23T22:35:27.000Z",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/2b1bf27635047f972f2e075b9da707bf248b372023dff17ab404903a85b80e5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-10-23T22:34:37.000Z",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/8f024e6cc8272664433162b28196f429ecf73102173130ff0b4727ac47d4ede4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-23T22:33:52.000Z",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/dd4f6a4c09a398fa663be0a48623603c3159b14ab8761e6024fa5625e9ef4801",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-23T23:28:00.000Z",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/65b6b245a7f255c8e0cb59e1fdd74e329d787a70f07de26ab3665cae20c48259",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-23T23:29:38.000Z",
      "commit": "43610332e3ea7afa234c1c3b1cb3bb47875a607d",
      "fileid": "https://r2.ropensci.org/8f309d654cfddbb0754ac43a7913e91739047f27d612abf79ff7d1558c8d5414",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ehrlinger/actions/runs/40033373373"
    }
  ]
}