rapids/docs/datastreams/aware-mysql-split.md

944 B
Raw Blame History

aware_mysql_split

This data stream handles iOS and Android sensor data collected with the AWARE Framework and stored in a MySQL database. This stream is similar to aware_mysql except for the way data is stored in the database tables as explained below.

Container

A MySQL database with a table per sensor per participant. RAPIDS assumes such tables' names follow the format deviceid_sensorname (for example a748ee1a-1d0b-4ae9-9074-279a2b6ba524_accelerometer); if this is not the case, you can modify the SQL query in this stream's container.Rscript. RAPIDS also assumes that an empty table exists for those participants that dont have data for a specific sensor.

The script to connect and download data from this container is at:

src/data/streams/aware_mysql_split/container.R

Format

--8<---- "docs/snippets/aware_format.md"