We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A data endpoint to get specific data for UserTask type of data. Types are:
UserTask
Return data for a bar chart (see below) showing the number of tasks done (i.e., measurements collected) for each task type.
Should be on a
level.
Time range should be part of request, e.g. the 2 week period shown below.
Notes:
measurement -> device_role_name -> role_name -> participant
title
type
measurement
The text was updated successfully, but these errors were encountered:
endpoints should return something similar to that...
const surveyData = [ { x: “26/02/25”, y: { q1: 0, q2: 1, q3: 0, t1: 0 } }, { x: “27/02/25”, y: { q1: 0, q2: 1, q3: 0, t1: 0 } }, { x: “28/02/25”, y: { q1: 0, q2: 1, q3: 0, t1: 0 } }, ];
const barChartData = [ { x: “26/02/25”, y: { min: 40, max: 50 } }, { x: “27/02/25”, y: { min: 40, max: 50 } }, { x: “28/02/25”, y: { min: 40, max: 50 } }, ];
const pieChartData = [ { key: "category_1", value: 40 }, { key: "category_2", value: 20 }, { key: "category_3", value: 30 }, ];
// key acts both as an id and i18n key (for the labels) // colors are generated on frontend
Sorry, something went wrong.
Note that count can be drawn from the completedtask measurement, which contain the task name, like this:
completedtask
{ "sequenceId": 65920, "studyDeploymentId": "15c12adb-b6ce-408f-99a0-f54c944416d9", "deviceRoleName": "Primary Phone", "measurement": { "sensorStartTime": 1737441255189091, "data": { "__type": "dk.cachet.carp.completedtask", "taskName": "Task #20", "taskData": { "__type": "dk.cachet.carp.survey", "result": { "__type": "RPTaskResult",
pavliuc75
No branches or pull requests
A data endpoint to get specific data for
UserTask
type of data. Types are:Return data for a bar chart (see below) showing the number of tasks done (i.e., measurements collected) for each task type.
Should be on a
level.
Time range should be part of request, e.g. the 2 week period shown below.
Notes:
measurement -> device_role_name -> role_name -> participant
title
of the tasktype
parameter of themeasurement
The text was updated successfully, but these errors were encountered: