Skip to content

Visit Completion Data Guidelines

Spencer Childress edited this page Oct 18, 2019 · 8 revisions

The Visit Completion chart accepts JSON data of the format returned by d3.csv(). It plots the number of participants by visit and visit status.

Data structure

one record per participant per visit

Data specification

required and optional variables:

Setting Default Data Type Description Required?
site_col site string site Y
visit_col visit string visit Y
visit_order_col visit_order string visit order
status_col status string visit status Y
status_order_col status_order string visit status order
status_color_col status_color string visit status color

Example data

the first few records of the test dataset:

site visit visit_order status status_order status_color
Site 1 SCRN 0 Completed 1 #4daf4a
Site 1 SCRN 0 Completed 1 #4daf4a
Site 1 SCRN 0 Completed 1 #4daf4a