Data Guidelines - samussiah/animated-swimmer-plot GitHub Wiki
The Animated Swimmer Plot library accepts JSON data in the form of an array with one object per record. The library expects one record per participant per assessment plus the required variables specified below.
Data structure
one record per individual per assessment with the timepoint, value, and order of the assessment
Data specification
required and optional variables:
Setting | Default | Data Type | Description | Required? |
---|---|---|---|---|
id_var |
USUBJID | character | unique identifier of individual | Yes |
timepoint_var |
ADY | numeric | study day of assessment | Yes |
censor_timepoint_var |
CNSRDY | character | study day of censoring or last day on study | No |
result_var |
AVALC | character | assessment value | Yes |
result_order_var |
AVAL | numeric | assessment order | Yes |
result_color_var |
ACOLOR | character | assessment color | No |
stratum_var |
<user-defined> |
character | stratification variable | No |