- trials
- TrialType
- session
- device
- BD: ABC to standardize db implementations
- add session
- add device
- add trial
- add trial
- add session
- add device
- save drift
- init db
- add trial
- add session
- add device
- trial
- session
- device
- add trial
- add trials
- add session
- add device
- trial
- session
- device
The data will be structured assuming:
- many participants per study
- many tasks per participant
- many session per task
- single device metadata per session
- single session metadata per session
- many trials per session
This aligns with the temporal properties of the data and makes it suitable for intensive longitudinal design and ecological momentary assessment studies.
The data will be organized in the following manner:
- collection: participants
- document: participantID
- field: participantID
- collection: cognitive_tasks
- document: taskID
- field: taskID
- collection: sessions
- document: sessionID
- collection: sessionMetadata
- document: sessionMetadata
- fields
- document: sessionMetadata
- collection: deviceMetadata
- document: deviceMetadata
- fields
- document: deviceMetadata
- collection: trials
- document: firebase_auto_generated_id
- fields
- document: firebase_auto_generated_id
- collection: sessionMetadata
- document: sessionID
- document: taskID
- document: participantID