diff --git a/exploration/expl_esm_labels.py b/exploration/expl_esm_labels.py index 4ce5cf0..829bb10 100644 --- a/exploration/expl_esm_labels.py +++ b/exploration/expl_esm_labels.py @@ -21,6 +21,7 @@ import seaborn as sns import participants.query_db from features.esm import QUESTIONNAIRE_IDS, clean_up_esm, get_esm_data, preprocess_esm +from features.esm_COPE import reassign_question_ids from features.esm_JCQ import reverse_jcq_demand_control_scoring from features.esm_SAM import extract_stressful_events @@ -412,10 +413,11 @@ df_esm_COPE = df_esm_preprocessed[ # %% df_esm_COPE_clean = clean_up_esm(df_esm_COPE) +df_esm_COPE_fixed = reassign_question_ids(df_esm_COPE_clean) # %% if export_data: - df_esm_COPE_for_export = df_esm_COPE_clean[ + df_esm_COPE_for_export = df_esm_COPE_fixed[ [ "participant_id", "username",