forked from COVID19Tracking/covid19-datafetcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
33 lines (26 loc) · 764 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
defaults:
# - hydra/launcher: joblib
- dataset: states
# system
hydra:
run:
dir: 'outputs'
output_subdir: null
job_logging:
formatters:
simple:
format: '%(levelname).1s %(asctime)s %(name)s:%(lineno)d %(message)s'
datefmt: '%Y%m%d_%H%M%S'
dataset:
# Dataset defaults to override
sources_file: ${data_root}/urls.yaml
mapping_file: ${data_root}/mappings.yaml
extras_module: fetcher.extras.${dataset.name}
# TODO: should index be part of the columns? not mandatory for state?
index: STATE
# Base filename: it'll be ${output}.csv and ${output}_${date}.csv
output: ${dataset.name}
data_root: ${hydra:runtime.cwd}/dataset/${dataset.name}
output_date_format: "%Y%m%d"
# fetch a single state (or a list)
state: null