forked from ESRC-CDRC/ahah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
114 lines (100 loc) · 3.24 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
stages:
get_nhs:
cmd: python -m ahah.get_nhs
outs:
# Hospitals
- data/raw/nhs/ets.csv
- data/raw/nhs/scotland/hospitals.csv
# GP practices
- data/raw/nhs/epraccur.csv
- data/raw/nhs/scotland/gpp.csv
# Dentists
- data/raw/nhs/egdpprac.csv
- data/raw/nhs/scotland/dentists.csv
# Pharmacies
- data/raw/nhs/edispensary.csv
- data/raw/nhs/scotland/pharmacies.csv
- data/raw/nhs/wales/pharmacy.xls
os_highways:
cmd: python -m ahah.os_highways
deps:
- data/raw/os_highways/oproad_gb.gpkg
- data/raw/os_highways/strtgi_essh_gb/ferry_line.shp
outs:
- data/processed/osm/nodes.parquet
- data/processed/osm/edges.parquet
process_routing:
cmd: python -m ahah.process_routing
deps:
- data/processed/osm/nodes.parquet
- ./data/raw/onspd/ONSPD_FEB_2022_UK.csv
- data/raw/nhs/ets.csv
- data/raw/nhs/scotland/hospitals.csv
- data/raw/nhs/epraccur.csv
- data/raw/nhs/scotland/gpp.csv
- data/raw/nhs/egdpprac.csv
- data/raw/nhs/scotland/dentists.csv
- data/raw/nhs/edispensary.csv
- data/raw/nhs/scotland/pharmacies.csv
- data/raw/greenspace/access.shp
- data/raw/bluespace
outs:
- data/processed/postcodes.parquet
- data/processed/hospitals.parquet
- data/processed/gpp.parquet
- data/processed/dentists.parquet
- data/processed/pharmacies.parquet
- data/processed/greenspace.parquet
- data/processed/bluespace.parquet
process_air:
cmd: python -m ahah.process_air
deps:
- data/raw/lsoa/england_lsoa_2011.shp
- data/raw/air/mapno22019.csv
- data/raw/air/mapso22019.csv
- data/raw/air/mappm102019g.csv
outs:
- data/out/lsoa_air.csv
routing:
cmd: python -m ahah.routing
deps:
- data/processed/osm/edges.parquet
- data/processed/postcodes.parquet
- data/processed/hospitals.parquet
- data/processed/gpp.parquet
- data/processed/dentists.parquet
- data/processed/pharmacies.parquet
- data/processed/greenspace.parquet
- data/processed/bluespace.parquet
outs:
- data/out/distances_hospitals.csv
- data/out/distances_gpp.csv
- data/out/distances_dentists.csv
- data/out/distances_pharmacies.csv
- data/out/distances_greenspace.csv
- data/out/distances_bluespace.csv
aggregate:
cmd: python -m ahah.aggregate_lsoa
deps:
- data/out/distances_hospitals.csv
- data/out/distances_gpp.csv
- data/out/distances_dentists.csv
- data/out/distances_pharmacies.csv
- data/out/distances_greenspace.csv
- data/out/distances_bluespace.csv
- data/raw/ndvi/sentinel_postcode_ndvi_20210419.csv
- data/processed/postcodes.parquet
outs:
- data/out/median_dists.csv
create_index:
cmd: python -m ahah.create_index
deps:
- data/out/median_dists.csv
- data/out/010422_CILLIANBERRAGAN_AHAH_WEIGHTED_MEANS_LSOA.csv
- data/raw/v2/allvariableslsoawdeciles.csv
- data/raw/lsoa/england_lsoa_2011.shp
- data/raw/lsoa/SG_DataZone_Bdry_2011.shp
- data/raw/lsoa/lsoa_wales_2011.gpkg
outs:
- data/out/v3_lsoa.gpkg
- data/out/v2_lsoa.gpkg