Example hospitalization data
hospitalizations_example.Rd
A synthetic dataset containing hospitalization periods for two individuals. Intended for testing how hospital stays affect drug exposure estimation in the PRE2DUP-R package.
Format
A `data.table` with the following variables:
- id
Person identifier (integer)
- hospital_start
Start date of the hospitalization period (Date)
- hospital_end
End date of the hospitalization period (Date)
Details
This data can be used to test how PRE2DUP-R handles inpatient periods when outpatient medications are not used.