Package: ofhsyn 0.1.1

ofhsyn: Synthetic Our Future Health Data Generator

Generates synthetic Our Future Health cohort datasets for method development, including participant, questionnaire, clinic measurements, outpatient, inpatient, emergency, mortality, primary care medication, and geography outputs. Supports reproducible generation with configurable cohort size and user-defined International Classification of Diseases, Tenth Revision (ICD-10), Office of Population Censuses and Surveys Classification of Interventions and Procedures, version 4 (OPCS-4), and British National Formulary (BNF) code pools.

Authors:Hannah Nicholls [aut, cre]

ofhsyn_0.1.1.tar.gz
ofhsyn_0.1.1.zip(r-4.7)ofhsyn_0.1.1.zip(r-4.6)ofhsyn_0.1.1.zip(r-4.5)
ofhsyn_0.1.1.tgz(r-4.6-any)ofhsyn_0.1.1.tgz(r-4.5-any)
ofhsyn_0.1.1.tar.gz(r-4.7-any)ofhsyn_0.1.1.tar.gz(r-4.6-any)
ofhsyn_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ofhsyn/json (API)

# Install 'ofhsyn' in R:
install.packages('ofhsyn', repos = c('https://hlnicholls.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hlnicholls/ofhsyn/issues

On CRAN:

Conda:

4.70 score 2 stars 3 scripts 9 exports 0 dependencies

Last updated from:1a378db61f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK123
source / vignettesOK156
linux-release-x86_64OK119
macos-release-arm64OK182
macos-oldrel-arm64OK208
windows-develOK105
windows-releaseOK87
windows-oldrelOK114
wasm-releaseOK89

Exports:add_inpatient_eventsgenerate_ofh_cohortgenerate_ofh_populationofh_build_configofh_default_code_configofh_default_proportionsofh_default_record_multipliersOFHCohortSynthesizersynthesize_drug_exposure

Dependencies:

Getting Started: OFH Synthetic Cohort Generation

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-05-14
Started: 2026-04-13

Readme and manuals

Help Manual

Help pageTopics
Generate Synthetic OFH Cohort Datasetsgenerate_ofh_cohort
Standalone Synthetic Generation Primitivesadd_inpatient_events generate_ofh_population synthesize_drug_exposure
Configuration Helpers for OFH Generationofh_build_config ofh_default_code_config ofh_default_proportions ofh_default_record_multipliers
Reference Class for OFH Cohort GenerationOFHCohortSynthesizer