GET
https://api.discovertext.com/api/v1/datasets/{dataset_id}/stats
Return Value: A dataset item summary statistics
{ "id": {dataset id}, "name": "{dataset name}", "timestamp": "{iso timestamp when created}", "href": "{link to this item}", "unitsCoded": { # of units coded }, "hasClassification": { true if there are classifications for the dataset }, "classifierName": "{ name of the classifier used }", "numberTrainedItems": { # of items trained for the classifier }, "numberItemsClassified": { # of units in this dataset classified }, "codes": [ {... list of codes in the dataset, see below ... }], "coders": [ {... list of coders for the dataset, see below ...}] }
Dataset Code:
{ "codeId": {code id}, "code": "{code name}", "color": "{code color}", "codeDescription": "{code description}", "parentCodeId": { parent code id if hierarchical }, "selectable": { for hierarchical codesets, true if the code can be used }, "unitsCoded": "{ number of units coded with this code }" }
Dataset Coder:
{ "coder": "{ coder name }", "unitsCoded": { number of units coded by this coder }, "averageCodingTime": { average coding time in seconds }, "totalCodingTime": { total time coded in seconds } }