2019-10-25 17:12:55 +02:00
|
|
|
rule heatmap_rows:
|
|
|
|
input:
|
|
|
|
"data/raw/{pid}/{sensor}_with_datetime.csv"
|
|
|
|
params:
|
|
|
|
table = "{sensor}",
|
|
|
|
pid = "{pid}"
|
|
|
|
output:
|
|
|
|
"reports/figures/{pid}/{sensor}_heatmap_rows.html"
|
|
|
|
script:
|
2019-11-01 19:26:51 +01:00
|
|
|
"../src/visualization/heatmap_rows.py"
|
|
|
|
|
|
|
|
rule compliance_heatmap:
|
|
|
|
input:
|
2019-12-04 21:32:20 +01:00
|
|
|
"data/interim/{pid}/phone_sensed_bins.csv"
|
2019-11-01 19:26:51 +01:00
|
|
|
params:
|
2019-12-05 17:07:40 +01:00
|
|
|
pid = "{pid}",
|
|
|
|
bin_size = config["PHONE_VALID_SENSED_DAYS"]["BIN_SIZE"]
|
2019-11-01 19:26:51 +01:00
|
|
|
output:
|
|
|
|
"reports/figures/{pid}/compliance_heatmap.html"
|
|
|
|
script:
|
|
|
|
"../src/visualization/compliance_heatmap.py"
|
2019-11-08 18:18:21 +01:00
|
|
|
|
|
|
|
rule battery_consumption_rates_barchart:
|
|
|
|
input:
|
|
|
|
"data/processed/{pid}/battery_daily.csv"
|
|
|
|
params:
|
|
|
|
pid = "{pid}"
|
|
|
|
output:
|
|
|
|
"reports/figures/{pid}/battery_consumption_rates_barchart.html"
|
|
|
|
script:
|
|
|
|
"../src/visualization/battery_consumption_rates_barchart.py"
|