-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
76 lines (76 loc) · 2.49 KB
/
dvc.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
stages:
make_raw_price_paid_data:
cmd: python3 src/data/make_raw_price_paid_data.py
deps:
- data/external/price_paid_data/pp-2019.csv
- src/data/make_raw_price_paid_data.py
outs:
- data/raw/price_paid_data/pp-2019.csv
make_raw_codepo_gb:
cmd: python3 src/data/make_raw_codepo_gb.py
deps:
- data/external/codepo_gb
- src/data/make_raw_codepo_gb.py
outs:
- data/raw/codepo_gb/codepo_gb.csv
make_processed_codepo_gb:
cmd: python3 src/data/make_processed_codepo_gb.py
deps:
- data/raw/codepo_gb/codepo_gb.csv
- src/data/make_processed_codepo_gb.py
outs:
- data/processed/codepo_gb/codepo_gb.feather
make_processed_price_paid_data:
cmd: python3 src/data/make_processed_price_paid_data.py
deps:
- data/processed/codepo_gb/codepo_gb.feather
- data/raw/price_paid_data/pp-2019.csv
- src/data/make_processed_price_paid_data.py
outs:
- data/processed/price_paid_data/pp-2019.feather
make_raw_bdline_gb:
cmd: python3 src/data/make_raw_bdline_gb.py
deps:
- data/external/bdline_gpkg_gb
- src/data/make_raw_bdline_gb.py
outs:
- data/raw/bdline_gb
make_interim_bdline_gb:
cmd: geo2topo data/raw/bdline_gb/district_borough_unitary.json > data/interim/bdline_gb/district_borough_unitary.json
deps:
- data/raw/bdline_gb
outs:
- data/interim/bdline_gb/district_borough_unitary.json
make_processed_bdline_gb:
cmd: toposimplify --planar-area 5000000 data/interim/bdline_gb/district_borough_unitary.json
> data/processed/bdline_gb/district_borough_unitary.json
deps:
- data/interim/bdline_gb/district_borough_unitary.json
outs:
- data/processed/bdline_gb/district_borough_unitary.json
make_aggregated_price_paid_data:
cmd: python3 src/data/make_aggregated_price_paid_data.py
deps:
- data/processed/price_paid_data/pp-2019.feather
- src/data/make_aggregated_price_paid_data.py
outs:
- data/processed/aggregated_price_paid_data/aggregated-pp-2019.csv
copy_data:
cmd: ./bin/copy_data.sh
deps:
- data/processed/aggregated_price_paid_data/aggregated-pp-2019.csv
- data/processed/bdline_gb/district_borough_unitary.json
outs:
- models/data
render_map:
cmd: ./bin/render_map.sh
deps:
- bin/render_map.sh
- models/data/aggregated-pp-2019.csv
- models/data/district_borough_unitary.json
- specs/map.vg.json
outs:
- reports/figures/map.pdf:
cache: false
- reports/figures/map.png:
cache: false