Skip to content

Forms Data Guidelines

Spencer edited this page Aug 20, 2019 · 3 revisions

The Forms chart accepts JSON data of the format returned by d3.csv(). It plots the number of forms by site and form status.

Data structure

one record per form

Data specification

required and optional variables:

Setting Default Data Type Description Required?
site_col site string site Y
status_col status string form status Y
status_order_col status_order string form status order
status_color_col status_color string form status color

Example data

the first few records of the [test dataset](https://github.com/RhoInc/data-library/blob/master/data/clinical-trials/data-cleaning/dashboard-forms.csv:

site status status_order status_color
Site 1 Received 1 #66c2a5
Site 1 Received 1 #66c2a5
Site 1 Received 1 #66c2a5