Skip to content

Commit

Permalink
Update NJSP plots
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Mar 5, 2025
1 parent 2867d63 commit b2f9cf9
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions njsp/data/year-type-county.csv
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ year,county,driver,passenger,cyclist,pedestrian,crashes
2024,Hudson,10,2,1,7,19
2024,Hunterdon,4,2,0,3,9
2024,Mercer,16,7,1,11,34
2024,Middlesex,28,11,2,21,56
2024,Middlesex,27,11,2,21,55
2024,Monmouth,24,5,5,20,53
2024,Morris,11,1,1,8,21
2024,Ocean,28,4,2,12,44
Expand All @@ -369,7 +369,7 @@ year,county,driver,passenger,cyclist,pedestrian,crashes
2025,Middlesex,5,1,0,1,7
2025,Monmouth,2,1,0,0,3
2025,Morris,1,0,0,0,1
2025,Ocean,3,1,0,4,7
2025,Ocean,4,1,0,4,8
2025,Passaic,0,1,0,2,3
2025,Salem,1,0,0,1,2
2025,Somerset,4,1,0,0,5
Expand Down
48 changes: 24 additions & 24 deletions njsp/update-plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Most recent NJSP run date: 2025-03-04 10:00:01-05:00\n",
"Most recent NJSP run date: 2025-03-05 10:00:02-05:00\n",
"Most recent month end: 2025-03-01 00:00:00-05:00\n",
"Current year start: 2025-01-01 00:00:00-05:00\n",
"Next year start: 2026-01-01 00:00:00-05:00\n"
Expand Down Expand Up @@ -685,10 +685,10 @@
"2008-05 46\n",
" ..\n",
"2024-10 80\n",
"2024-11 69\n",
"2024-11 68\n",
"2024-12 53\n",
"2025-01 39\n",
"2025-02 37\n",
"2025-02 38\n",
"Name: tk, Length: 206, dtype: Int8"
]
},
Expand Down Expand Up @@ -731,9 +731,9 @@
"2008-05 NaN\n",
" ... \n",
"2024-10 57.333333\n",
"2024-11 58.083333\n",
"2024-12 57.666667\n",
"2025-01 56.916667\n",
"2024-11 58.000000\n",
"2024-12 57.583333\n",
"2025-01 56.833333\n",
"2025-02 55.750000\n",
"Name: tk, Length: 206, dtype: float64"
]
Expand Down Expand Up @@ -815,7 +815,7 @@
" <tr>\n",
" <th rowspan=\"2\" valign=\"top\">2024</th>\n",
" <th>11</th>\n",
" <td>69</td>\n",
" <td>68</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
Expand All @@ -828,7 +828,7 @@
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>37</td>\n",
" <td>38</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
Expand All @@ -848,10 +848,10 @@
" 4 50\n",
" 5 46\n",
"... ..\n",
"2024 11 69\n",
"2024 11 68\n",
" 12 53\n",
"2025 1 39\n",
" 2 37\n",
" 2 38\n",
" 3 2\n",
"\n",
"[207 rows x 1 columns]"
Expand Down Expand Up @@ -1029,10 +1029,10 @@
" 4 50\n",
" 5 46\n",
" ..\n",
"2024 11 69\n",
"2024 11 68\n",
" 12 53\n",
"2025 1 39\n",
" 2 37\n",
" 2 38\n",
" 3 2\n",
"Name: tk, Length: 207, dtype: Int8"
]
Expand Down Expand Up @@ -1353,7 +1353,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"665 projected deaths for 2025\n"
"655 projected deaths for 2025\n"
]
}
],
Expand Down Expand Up @@ -1554,21 +1554,21 @@
" </tr>\n",
" <tr>\n",
" <th>2024</th>\n",
" <td>354</td>\n",
" <td>353</td>\n",
" <td>230</td>\n",
" <td>85</td>\n",
" <td>23</td>\n",
" <td>692</td>\n",
" <td>691</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2025</th>\n",
" <td>44</td>\n",
" <td>45</td>\n",
" <td>24</td>\n",
" <td>10</td>\n",
" <td>0</td>\n",
" <td>665</td>\n",
" <td>587</td>\n",
" <td>655</td>\n",
" <td>576</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
Expand All @@ -1593,8 +1593,8 @@
"2021 368 217 86 26 697 0\n",
"2022 379 191 103 16 689 0\n",
"2023 319 171 89 27 606 0\n",
"2024 354 230 85 23 692 0\n",
"2025 44 24 10 0 665 587"
"2024 353 230 85 23 691 0\n",
"2025 45 24 10 0 655 576"
]
},
"execution_count": 23,
Expand Down Expand Up @@ -2894,7 +2894,7 @@
" </tr>\n",
" <tr>\n",
" <th>2024-11</th>\n",
" <td>30</td>\n",
" <td>29</td>\n",
" <td>32</td>\n",
" <td>5</td>\n",
" <td>2</td>\n",
Expand All @@ -2915,7 +2915,7 @@
" </tr>\n",
" <tr>\n",
" <th>2025-02</th>\n",
" <td>21</td>\n",
" <td>22</td>\n",
" <td>12</td>\n",
" <td>4</td>\n",
" <td>0</td>\n",
Expand Down Expand Up @@ -2992,10 +2992,10 @@
"2024-08 30 20 8 5\n",
"2024-09 37 17 8 1\n",
"2024-10 39 27 10 4\n",
"2024-11 30 32 5 2\n",
"2024-11 29 32 5 2\n",
"2024-12 23 21 9 0\n",
"2025-01 23 11 5 0\n",
"2025-02 21 12 4 0\n",
"2025-02 22 12 4 0\n",
"2025-03 0 1 1 0"
]
},
Expand Down
Loading

0 comments on commit b2f9cf9

Please sign in to comment.