Skip to content

Commit

Permalink
GHA: update data/plots
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Jun 24, 2023
1 parent 40e618d commit d8706a4
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 20 deletions.
29 changes: 18 additions & 11 deletions data/FAUQStats2022.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
associated case is completed by the NJSP Fatal Accident
Investigation Unit.-->
<FAUQSTATS>
<RUNDATE>Fri Jun 23 10:00:07 EDT 2023</RUNDATE>
<RUNDATE>Sat Jun 24 10:00:07 EDT 2023</RUNDATE>
<STATSYEAR>2022</STATSYEAR>
<COUNTY CCODE="01" CNAME="Atlantic">
</COUNTY>
Expand Down Expand Up @@ -2768,7 +2768,7 @@
<MUNICIPALITY MCODE="1216" MNAME="Perth Amboy City">
<ACCIDENT ACCID="12008" DATE="09/05/2022" TIME="2209">
<HIGHWAY>653</HIGHWAY>
<LOCATION>County 653 MP 1.04</LOCATION>
<LOCATION>County 653 MP 1.03</LOCATION>
<FATALITIES>1</FATALITIES>
<FATAL_D>0</FATAL_D>
<FATAL_P>0</FATAL_P>
Expand All @@ -2786,6 +2786,7 @@
<FATAL_P>0</FATAL_P>
<FATAL_T>0</FATAL_T>
<FATAL_B>0</FATAL_B>
<INJURIES>2</INJURIES>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
Expand Down Expand Up @@ -2932,13 +2933,14 @@
<COUNTY CCODE="20" CNAME="Union">
<MUNICIPALITY MCODE="2004" MNAME="Elizabeth City">
<ACCIDENT ACCID="12017" DATE="09/02/2022" TIME="0227">
<STREET>Elizabeth Ave</STREET>
<LOCATION>Elizabeth Ave</LOCATION>
<STREET>Elizabeth Avenue</STREET>
<LOCATION>Elizabeth Avenue</LOCATION>
<FATALITIES>1</FATALITIES>
<FATAL_D>1</FATAL_D>
<FATAL_P>0</FATAL_P>
<FATAL_T>0</FATAL_T>
<FATAL_B>0</FATAL_B>
<INJURIES>0</INJURIES>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
Expand Down Expand Up @@ -3055,8 +3057,8 @@
<COUNTY CCODE="20" CNAME="Union">
<MUNICIPALITY MCODE="2004" MNAME="Elizabeth City">
<ACCIDENT ACCID="12022" DATE="08/29/2022" TIME="0728">
<STREET>Virginia St</STREET>
<LOCATION>Virginia St</LOCATION>
<STREET>Virginia Street</STREET>
<LOCATION>Virginia Street</LOCATION>
<FATALITIES>1</FATALITIES>
<FATAL_D>0</FATAL_D>
<FATAL_P>0</FATAL_P>
Expand All @@ -3074,6 +3076,7 @@
<FATAL_P>0</FATAL_P>
<FATAL_T>1</FATAL_T>
<FATAL_B>0</FATAL_B>
<INJURIES>0</INJURIES>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
Expand Down Expand Up @@ -3177,7 +3180,7 @@
<MUNICIPALITY MCODE="1221" MNAME="South Brunswick Tws">
<ACCIDENT ACCID="12012" DATE="08/23/2022" TIME="1940">
<HIGHWAY>1</HIGHWAY>
<LOCATION>State Highway 1 MP 14.12</LOCATION>
<LOCATION>State Highway 1 MP 14.13</LOCATION>
<FATALITIES>1</FATALITIES>
<FATAL_D>1</FATAL_D>
<FATAL_P>0</FATAL_P>
Expand Down Expand Up @@ -3929,12 +3932,13 @@
<MUNICIPALITY MCODE="0714" MNAME="Newark City">
<ACCIDENT ACCID="11912" DATE="07/23/2022" TIME="0422">
<HIGHWAY>27</HIGHWAY>
<LOCATION>State Highway 27</LOCATION>
<LOCATION>State Highway 27 MP 36</LOCATION>
<FATALITIES>4</FATALITIES>
<FATAL_D>1</FATAL_D>
<FATAL_P>3</FATAL_P>
<FATAL_T>0</FATAL_T>
<FATAL_B>0</FATAL_B>
<INJURIES>1</INJURIES>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
Expand Down Expand Up @@ -4885,12 +4889,13 @@
<MUNICIPALITY MCODE="0701" MNAME="Belleville Town">
<ACCIDENT ACCID="11835" DATE="06/24/2022" TIME="2153">
<HIGHWAY>7</HIGHWAY>
<LOCATION>State Highway 7</LOCATION>
<LOCATION>State Highway 7 MP 6.5</LOCATION>
<FATALITIES>1</FATALITIES>
<FATAL_D>0</FATAL_D>
<FATAL_P>0</FATAL_P>
<FATAL_T>1</FATAL_T>
<FATAL_B>0</FATAL_B>
<INJURIES>0</INJURIES>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
Expand All @@ -4912,12 +4917,13 @@
<MUNICIPALITY MCODE="0714" MNAME="Newark City">
<ACCIDENT ACCID="11976" DATE="06/23/2022" TIME="2051">
<HIGHWAY>510</HIGHWAY>
<LOCATION>County 510</LOCATION>
<LOCATION>County 510 MP 26.7</LOCATION>
<FATALITIES>1</FATALITIES>
<FATAL_D>0</FATAL_D>
<FATAL_P>0</FATAL_P>
<FATAL_T>1</FATAL_T>
<FATAL_B>0</FATAL_B>
<INJURIES>0</INJURIES>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
Expand Down Expand Up @@ -4945,6 +4951,7 @@
<FATAL_P>0</FATAL_P>
<FATAL_T>1</FATAL_T>
<FATAL_B>0</FATAL_B>
<INJURIES>0</INJURIES>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
Expand Down Expand Up @@ -8970,5 +8977,5 @@
</COUNTY>
<TOTACCIDENTS>651</TOTACCIDENTS>
<TOTFATALITIES>694</TOTFATALITIES>
<TOTINJURIES>408</TOTINJURIES>
<TOTINJURIES>411</TOTINJURIES>
</FAUQSTATS>
19 changes: 16 additions & 3 deletions data/FAUQStats2023.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
associated case is completed by the NJSP Fatal Accident
Investigation Unit.-->
<FAUQSTATS>
<RUNDATE>Fri Jun 23 10:00:02 EDT 2023</RUNDATE>
<RUNDATE>Sat Jun 24 10:00:03 EDT 2023</RUNDATE>
<STATSYEAR>2023</STATSYEAR>
<COUNTY CCODE="01" CNAME="Atlantic">
</COUNTY>
Expand Down Expand Up @@ -75,6 +75,19 @@
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
<COUNTY CCODE="15" CNAME="Ocean">
<MUNICIPALITY MCODE="1506" MNAME="Brick Twsp">
<ACCIDENT ACCID="12523" DATE="06/21/2023" TIME="2213">
<STREET>Brick Blvd</STREET>
<LOCATION>Brick Blvd</LOCATION>
<FATALITIES>1</FATALITIES>
<FATAL_D>0</FATAL_D>
<FATAL_P>0</FATAL_P>
<FATAL_T>1</FATAL_T>
<FATAL_B>0</FATAL_B>
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
<COUNTY CCODE="03" CNAME="Burlington">
<MUNICIPALITY MCODE="0335" MNAME="Springfield Twsp">
<ACCIDENT ACCID="12518" DATE="06/20/2023" TIME="1654">
Expand Down Expand Up @@ -3168,7 +3181,7 @@
</ACCIDENT>
</MUNICIPALITY>
</COUNTY>
<TOTACCIDENTS>235</TOTACCIDENTS>
<TOTFATALITIES>247</TOTFATALITIES>
<TOTACCIDENTS>236</TOTACCIDENTS>
<TOTFATALITIES>248</TOTFATALITIES>
<TOTINJURIES>46</TOTINJURIES>
</FAUQSTATS>
Binary file modified data/crashes.pqt
Binary file not shown.
Binary file modified data/totals.pqt
Binary file not shown.
Binary file modified nj_crashes.db
Binary file not shown.
8 changes: 4 additions & 4 deletions www/public/plots/projected_totals.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@
},
"2023": {
"Drivers": 140,
"Pedestrians": 74,
"Pedestrians": 75,
"Passengers": 29,
"Cyclists": 4,
"Unknown": 0,
"Total": 247,
"Projected": 311,
"Projected Total": 558
"Total": 248,
"Projected": 307,
"Projected Total": 555
}
}
2 changes: 1 addition & 1 deletion www/public/plots/ytd-deaths.json

Large diffs are not rendered by default.

Binary file modified www/public/plots/ytd-deaths.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion www/public/rundate.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"rundate": "2023-06-23 10:00:02"}
{"rundate": "2023-06-24 10:00:03"}

0 comments on commit d8706a4

Please sign in to comment.