rapids/rules/reports.snakefile

31 lines
830 B
Plaintext
Raw Normal View History

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:
"../src/visualization/heatmap_rows.py"
rule compliance_heatmap:
input:
"data/interim/{pid}/phone_sensed_bins.csv"
params:
pid = "{pid}"
output:
"reports/figures/{pid}/compliance_heatmap.html"
script:
"../src/visualization/compliance_heatmap.py"
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"