rapids/rules/preprocessing.snakefile

21 lines
511 B
Plaintext
Raw Normal View History

2019-10-24 18:11:24 +02:00
rule download_dataset:
input:
"data/external/{pid}"
params:
2019-10-24 22:08:05 +02:00
group = "AAPECS",
table = "{sensor}"
2019-10-24 18:11:24 +02:00
output:
2019-10-24 22:08:05 +02:00
"data/raw/{pid}/{sensor}_raw.csv"
2019-10-24 18:11:24 +02:00
script:
2019-10-24 22:08:05 +02:00
"../src/data/download_dataset.R"
rule readable_datetime:
input:
sensor_input = rules.download_dataset.output
params:
timezones = None,
fixed_timezone = "EST"
output:
"data/raw/{pid}/{sensor}_with_datetime.csv"
script:
"../src/data/readable_datetime.R"