dispel.providers.bdh.io.survey module#
Functions for reading BDH formatted mood data.
- dispel.providers.bdh.io.survey.convert_flagged_answers(data, definition)[source]#
Convert flagged_answers dataset to userInput format.
- Parameters:
definition (RawDataSetDefinition) –
- Return type:
- dispel.providers.bdh.io.survey.create_levels(data)[source]#
Create levels from uni-level activity data.
- dispel.providers.bdh.io.survey.get_level_id(config)[source]#
Parse level id from level type and configuration.
- Parameters:
config (dict) – The level configuration
- Returns:
Level id for the level
- Return type:
- Raises:
NotImplementedError – If the given mode parsing has not been implemented.