[WIP] Add a rule for ESM features.

labels
junos 2022-03-30 10:43:30 +02:00
parent 3af8de6235
commit 798ec973b4
1 changed files with 11 additions and 0 deletions

View File

@ -332,6 +332,17 @@ rule preprocess_esm:
script: script:
"../src/features/phone_esm/straw/preprocess.py" "../src/features/phone_esm/straw/preprocess.py"
rule esm_features:
input:
sensor_data = "data/interim/{pid}/phone_esm_{feature}_clean.csv",
time_segments_labels = "data/interim/time_segments/{pid}_time_segments_labels.csv"
params:
sensor_key = "phone_esm",
questionnaire_name = "{feature}"
output: "data/processed/{pid}/phone_esm_{feature}_features.csv"
script:
"../src/features/entry.R"
rule phone_keyboard_python_features: rule phone_keyboard_python_features:
input: input:
sensor_data = "data/raw/{pid}/phone_keyboard_with_datetime.csv", sensor_data = "data/raw/{pid}/phone_keyboard_with_datetime.csv",