2022.05.06: Visualizations and Util Code
New features and fixes:
- Correlation visualizations
- Participant-specific visualizations
- Module scheduling
- Notifications
- Database code
- Other useful functions
- Feature updates to match LAMP sensor types
Details
- We have added code to perform basic analysis to aid in the exploration of your data. Using our generalizable survey scoring code and standardized feature file formats, you can load all features of interest and:
- Plot correlations between all features.
- Determine if any features differ along a feature of interest (ex: Do participants that improved have higher hometime than those that did not improve in the study?).
- Fit a simple logistic regression model to predict your feature of interest given all features.
- Participant-specific visualizations can be attached to individual participants on the data portal. These include:
- Data coverage graphs for accelerometer and GPS.
- Graphs of activity counts.
- Easily understandable graphs of cortex variables broken into tertiles.
- We have added our suite of module scheduling functions that can be used to assign specific activities to the feed over time (ex: over a week) and send activity-specific messages via the chat. This suite also includes functionality to allow you to automate this process through the use of tags.
- Code for sending notifications (via the app, email, or slack) have been added to facilitate researcher to researcher and researcher to participant interaction.
- Although interacting directly with the database is not advised, there may be some cases where it is necessary. We have added a set of functions to help you with this process including code to restore deleted activities or participants, change participant parents, and map activity events to activities that have been deleted.
- Additional useful code streamlines the process of working with the API including adding sensors, updating activities, and generating lists of participant IDs.
- We have made several updates to features in Cortex:
- New features:
raw.device_motion
,raw.device_state
,raw.telephony
- Updated features:
- To deal with backward compatibility,
raw.device_state
will now pull both the deprecatedraw.screen_state
and the newraw.device_state
. - Relatedly,
primary.screen_state
has been updated to work with both the newraw.device_state data
and the oldraw.screen_state data
. secondary.step_count
has been updated to work with the new format of steps data. We will no longer support the old format.
- To deal with backward compatibility,
- Deprecated features:
primary.sleep_periods
,secondary.sleep_duration
,secondary.sms_count
- New features:
For more information, please reference our documentation.