BACKGROUND Smartphone and wearable devices are widely used in behavioral and clinical research to collect longitudinal data that, along with ground truth data, are used to create models of human behavior. Mobile sensing researchers often program analysis code from scratch even though many research teams collect data from similar mobile sensors, platforms and devices. As a result, the quality of code varies, code is often not shared alongside publications, and when it is, it might not be stored on a version control system and most of the time there is no guarantee the development environment can be replicated. This makes it difficult for other scientists to read, reuse, audit, and reproduce a publication’s code and its results. OBJECTIVE We present RAPIDS, a reproducible pipeline to standardize the preprocessing, feature extraction, analysis, visualization, and reporting of data streams coming from mobile sensors. METHODS RAPIDS is formed by a group of R and Python scripts that are executed on top of reproducible virtual environments, orchestrated by Snakemake and organized following the cookiecutter data science project. Its development has been and will be informed by public discussions with the mobile sensing research community. RESULTS We share open source, documented, extensible and tested code to preprocess and extract behavioral features from data collected with the AWARE Framework in Android and iOS smartphones as well as Fitbit devices. We also provide a file structure and development environment that other researchers can follow to publish their own models, visualizations, and reports. CONCLUSIONS RAPIDS allows researchers to process mobile sensor data in a rigorous and reproducible way. This saves time and effort during the data analysis phase of a project and makes it easier to share an analysis workflow alongside publications.
Smartphone and wearable devices are widely used in behavioral and clinical research to collect longitudinal data that, along with ground truth data, are used to create models of human behavior. Mobile sensing researchers often program data processing and analysis code from scratch even though many research teams collect data from similar mobile sensors, platforms, and devices. This leads to significant inefficiency in not being able to replicate and build on others' work, inconsistency in quality of code and results, and lack of transparency when code is not shared alongside publications. We provide an overview of Reproducible Analysis Pipeline for Data Streams (RAPIDS), a reproducible pipeline to standardize the preprocessing, feature extraction, analysis, visualization, and reporting of data streams coming from mobile sensors. RAPIDS is formed by a group of R and Python scripts that are executed on top of reproducible virtual environments, orchestrated by a workflow management system, and organized following a consistent file structure for data science projects. We share open source, documented, extensible and tested code to preprocess, extract, and visualize behavioral features from data collected with any Android or iOS smartphone sensing app as well as Fitbit and Empatica wearable devices. RAPIDS allows researchers to process mobile sensor data in a rigorous and reproducible way. This saves time and effort during the data analysis phase of a project and facilitates sharing analysis workflows alongside publications.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.