-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
37 lines (25 loc) · 1.24 KB
/
Makefile
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
#all: Flow.py f_*.csv
# python Flow.py
f_noon.csv: balance_entries_exits.R entries_exits_average.csv SingularTrainFlow.csv
Rscript balance_entries_exits.R
entries_exits_average.csv: Load_Subway_Trips.R trainnames.R readyformerge.txt GoogleLineNames.csv new_ts/turnstile_*.txt
Rscript Load_Subway_Trips.R
readyformerge.txt: join.sh ./turnstile_data/turnstile_*.txt ./gtfs_data/stops.txt
./join.sh
join.sh: pp_namesformerge.awk takethetop.awk smalledits.awk a_names_script_v2.py
chmod 777 join.sh
./join.sh
GoogleLineNames.csv: GoogleLineNames.R ./gtfs_data/stop_times.txt modifiedstops.txt new_google_data.txt
Rscript GoogleLineNames.R
new_google_data.txt: g_orderlinenames.py OldGoogleLineNames.csv
python g_orderlinenames.py
OldGoogleLineNames.csv: LineNameRetriever.R ./gtfs_data/trips.txt modifiedstops.txt differentstopids.txt ./gtfs_data/stop_times.txt
Rscript LineNameRetriever.R
new_ts/turnstile_*.txt: c_order.py ./turnstile_data/turnstile_*.txt
python c_order.py
SingularTrainFlow.csv: SingularTrainTravel.R modifiedstops.txt new_google_data.txt ./gtfs_data/stop_times.txt
Rscript SingularTrainTravel.R
differentstopids.txt: join.sh
./join.sh
modifiedstops.txt: pp_namesformerge.awk
awk -f pp_namesformerge.awk > modifiedstops.txt