Move preprocessing to features.

labels
junos 2022-03-16 17:06:42 +01:00
parent 19b9da0ba3
commit cb116100dd
2 changed files with 8 additions and 8 deletions

View File

@ -324,6 +324,14 @@ rule conversation_r_features:
script:
"../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:
input:
sensor_data = "data/raw/{pid}/phone_keyboard_with_datetime.csv",

View File

@ -190,14 +190,6 @@ rule phone_application_categories:
script:
"../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:
input: unpack(pull_wearable_data_input_with_mutation_scripts)
params: