Fast Data Preparation for Danish Registry Data


[Up] [Top]

Documentation for package ‘heaven’ version 2026.10.30

Help Pages

atccodes atccodes
averageIncome averageIncome
charlson.codes charlson.codes
charlsonIndex charlsonindex - define charlson index at a selected time
contentSAS importSAS
createProject ordnung muss sein
diseasecode diseasecode
dsr Confidence intervals for age standardized rates and rate ratios
edu_code "edu_code"
exposureMatch Exact matching on time-dependent exposure
findCondition Find conditions in registry data
getAdmLimits Get Admission time
groupAges groupAges
hypertensionATC hypertensionATC
hypertensionMedication hypertensionMedication - define presence of hypertension based on prescriptions
icdcodes icdcodes
importDREAM importDREAM
importSAS importSAS
incidenceMatch incidenceMatch - Risk set matching for nested case-control designs
innerMedicinMacro The heart of the medicin macro
kommuneRegion kommuneRegion - Converts kommune number to Region
kommune_codes kommune_codes
lexisFromTo lexisFromTo
lexisSeq lexisSeq
lexisTwo lexisTwo
listRawdata List sas data files
matchReport matchReport - report of matching from incidenceMatch and exposureMatch
medicinMacro Medicin macro to estimate prescription lengths and averages
mm1 Calculates whether patients are exposed or not at a given time
mm2 Calculates exposure periods in a given time span
patientProfile Profile of common covariate combinations among patients
poissonregression Poisson regression by aggregated data using glm
poissonRisk Predicting absolute risk from poisson regression model
rDateToSas rDateToSas
sasDateRange sasDateRange
sasSubstr sasSubstr
sasWhereConstructor sasWhereConstructor
scanRawdata Scan sas data files
simAdmissionData Admission data simulation function
simPop Population simulation
simPrescriptionData Prescription data simulation function
sks_codes SKS codes
splitFromTo splitFromTo
splitSeq splitSeq
splitTwo splitTwo
standardize.prodlim Standardize absolute risks
standardize.proportion Standardize proportions and absolute risks to a given age distribution
standardize.rate Standardize proportions and absolute risks to a given age distribution
view_parquet View a Parquet File or Directory
xrecepter wrapper for medicin macro