Skip to content

Commit

Permalink
Adding 2024 rapid transit dataset (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte authored Feb 24, 2024
1 parent 22d43fa commit 117cb15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/rapid/gen_rapid_events.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -x

for y in `seq 2016 2023`; do
for y in `seq 2016 2024`; do
for f in $(find data/input/$y/ -name '*.csv'); do
echo "Generating stop data from $f"
poetry run python process_events.py $f data/output
Expand Down
3 changes: 2 additions & 1 deletion server/rapid/setup_rapid_input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ wget -N -O data/input/2020.zip https://www.arcgis.com/sharing/rest/content/items
wget -N -O data/input/2021.zip https://www.arcgis.com/sharing/rest/content/items/611b8c77f30245a0af0c62e2859e8b49/data
wget -N -O data/input/2022.zip https://www.arcgis.com/sharing/rest/content/items/99094a0c59e443cdbdaefa071c6df609/data
wget -N -O data/input/2023.zip https://www.arcgis.com/sharing/rest/content/items/9a7f5634db72459ab731b6a9b274a1d4/data
wget -N -O data/input/2024.zip https://www.arcgis.com/sharing/rest/content/items/4adbec39db40498a8530496d8c63a924/data

cd data/input
for i in `seq 2017 2023`; do
for i in `seq 2017 2024`; do
unzip -o -d $i $i.zip
done

Expand Down

0 comments on commit 117cb15

Please sign in to comment.