A sample dataset containing hospitalization periods (one per row) for 10 patients
over a period of roughly 18 months (28 events in total).
This is the appropriate format to compute event durations with the
compute_event_durations function. Each row represent an individual hospitalization period
of a patient for whom event durations should be calculated. Besides hospitalizations, this could
cover other situations where patients may not use their own supply, e.g. during incarcerations.
All column names must match the format provided in this example.
A data frame with 28 rows and 3 variables:
integer here; patient unique identifier. Can also be string
Date here;the start of the hospitalization period, by default in the yyyy-mm-dd format.Can also be string.
Date;the end of the hospitalization period, by default in the yyyy-mm-dd format. Can also be string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.