Move preprocessing to features.
parent
19b9da0ba3
commit
cb116100dd
|
@ -324,6 +324,14 @@ rule conversation_r_features:
|
||||||
script:
|
script:
|
||||||
"../src/features/entry.R"
|
"../src/features/entry.R"
|
||||||
|
|
||||||
|
rule preprocess_esm:
|
||||||
|
input: "data/raw/{pid}/phone_esm_with_datetime.csv"
|
||||||
|
params:
|
||||||
|
questionnaire_ids = [8,9]
|
||||||
|
output: "data/interim/{pid}/phone_esm_clean.csv"
|
||||||
|
script:
|
||||||
|
"../src/features/phone_esm/straw/preprocess.py"
|
||||||
|
|
||||||
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",
|
||||||
|
|
|
@ -190,14 +190,6 @@ rule phone_application_categories:
|
||||||
script:
|
script:
|
||||||
"../src/data/application_categories.R"
|
"../src/data/application_categories.R"
|
||||||
|
|
||||||
rule preprocess_esm:
|
|
||||||
input: "data/raw/{pid}/phone_esm_with_datetime.csv"
|
|
||||||
params:
|
|
||||||
questionnaire_ids = [8,9]
|
|
||||||
output: "data/interim/{pid}/phone_esm_clean.csv"
|
|
||||||
script:
|
|
||||||
"../src/features/phone_esm/straw/preprocess.py"
|
|
||||||
|
|
||||||
rule pull_wearable_data:
|
rule pull_wearable_data:
|
||||||
input: unpack(pull_wearable_data_input_with_mutation_scripts)
|
input: unpack(pull_wearable_data_input_with_mutation_scripts)
|
||||||
params:
|
params:
|
||||||
|
|
Loading…
Reference in New Issue