[WIP] Add a rule for ESM features.
parent
3af8de6235
commit
798ec973b4
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue