Add a format for ESM and add to config.

labels
junos 2022-03-08 15:43:25 +01:00
parent d8e9a309f7
commit 2bef86b1da
2 changed files with 26 additions and 0 deletions

View File

@ -234,6 +234,14 @@ PHONE_DATA_YIELD:
MINUTE_RATIO_THRESHOLD_FOR_VALID_YIELDED_HOURS: 0.5 # 0 to 1, minimum percentage of valid minutes in an hour to be considered valid.
SRC_SCRIPT: src/features/phone_data_yield/rapids/main.R
PHONE_ESM:
CONTAINER: esm
PROVIDERS:
RAPIDS:
COMPUTE: False
FEATURES:
SRC_SCRIPT: src/features/phone_keyboard/rapids/main.py
# See https://www.rapids.science/latest/features/phone-keyboard/
PHONE_KEYBOARD:
CONTAINER: keyboard

View File

@ -183,6 +183,24 @@ PHONE_CONVERSATION:
SCRIPTS: # List any python or r scripts that mutate your raw data
- "src/data/streams/mutations/phone/aware/conversation_ios_timestamp.R"
PHONE_ESM:
ANDROID:
RAPIDS_COLUMN_MAPPINGS:
TIMESTAMP: timestamp
DEVICE_ID: device_id
ESM_STATUS: esm_status
ESM_USER_ANSWER: esm_user_answer
ESM_NOTIFICATION_TIMEOUT: esm_notification_timeout
ESM_JSON: esm_json
DOUBLE_ESM_USER_ANSWER_TIMESTAMP: double_esm_user_answer_timestamp
ESM_TRIGGER: esm_trigger
ESM_SESSION: esm_session
ESM_NOTIFICATION_ID: esm_notification_id
ESM_EXPIRATION_THRESHOLD: esm_expiration_threshold
MUTATION:
COLUMN_MAPPINGS:
SCRIPTS:
PHONE_KEYBOARD:
ANDROID:
RAPIDS_COLUMN_MAPPINGS: