rapids/rules/reports.snakefile

31 lines
867 B
Plaintext

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:
expand("data/raw/{{pid}}/{sensor}_with_datetime.csv", sensor=config["SENSORS"])
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"