Skip to content

Commit

Permalink
Update NJSP projections
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Sep 25, 2024
1 parent 80973cf commit 396c08d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
54 changes: 27 additions & 27 deletions njsp/update-projections.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Searching for oldest commit with rundate \u22652023-09-24\n"
"Searching for oldest commit with rundate \u22652023-09-25\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Found rundate 2023-09-23 10:00:02 < 2023-09-24 at commit 778d032e; returning commit 776f459\n"
"Found rundate 2023-09-24 10:00:03 < 2023-09-25 at commit eb2cef0c; returning commit e0a9503\n"
]
},
{
"data": {
"text/plain": [
"'2023-09-24 10:00:03'"
"'2023-09-25 10:00:02'"
]
},
"execution_count": 2,
Expand All @@ -68,18 +68,18 @@
"name": "stdout",
"output_type": "stream",
"text": [
"As of 2023-09-24 10:00:03, NJSP was reporting 421 YTD deaths\n",
"Current YTD Deaths (2024-09-24 10:00:03-04:00): 478\n",
"Previous year YTD Deaths (adjusted; 2023-09-24 10:00:03): 421.4258869713507\n",
"Projected 2024 total: 680.6753020257011\n",
"As of 2023-09-25 10:00:02, NJSP was reporting 421 YTD deaths\n",
"Current YTD Deaths (2024-09-25 10:00:05-04:00): 478\n",
"Previous year YTD Deaths (adjusted; 2023-09-25 10:00:02): 421.4200466208987\n",
"Projected 2024 total: 680.7515460031607\n",
"13.4% change\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"FAUQStats cache miss: 2023, Sun Sep 24 10:00:03 EDT 2023\n"
"FAUQStats cache miss: 2023, Mon Sep 25 10:00:02 EDT 2023\n"
]
}
],
Expand Down Expand Up @@ -342,7 +342,7 @@
" <td>1319</td>\n",
" <td>Howell Twsp</td>\n",
" <td>9</td>\n",
" <td>9</td>\n",
" <td>State Highway 9</td>\n",
" <td>1.0</td>\n",
" <td>1.0</td>\n",
" <td>0.0</td>\n",
Expand Down Expand Up @@ -384,7 +384,7 @@
"12696 Interstate 80 MP 23.2 1.0 0.0 0.0 1.0 \n",
"12698 State Highway 9 1.0 1.0 0.0 0.0 \n",
"12700 County 604 1.0 1.0 0.0 0.0 \n",
"12704 9 1.0 1.0 0.0 0.0 \n",
"12704 State Highway 9 1.0 1.0 0.0 0.0 \n",
"\n",
" FATAL_B STREET INJURIES dt \n",
"ACCID \n",
Expand Down Expand Up @@ -622,17 +622,17 @@
" <th>Union</th>\n",
" <td>10</td>\n",
" <td>2</td>\n",
" <td>10</td>\n",
" <td>9</td>\n",
" <td>1</td>\n",
" <td>21</td>\n",
" <td>20</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Warren</th>\n",
" <td>7</td>\n",
" <td>8</td>\n",
" <td>1</td>\n",
" <td>2</td>\n",
" <td>1</td>\n",
" <td>10</td>\n",
" <td>11</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
Expand Down Expand Up @@ -660,8 +660,8 @@
"Salem 7 2 1 3 11\n",
"Somerset 9 0 3 0 12\n",
"Sussex 5 2 2 1 10\n",
"Union 10 2 10 1 21\n",
"Warren 7 1 2 1 10"
"Union 10 2 9 1 20\n",
"Warren 8 1 2 1 11"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -704,7 +704,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"73.1% through the year, 26.9% remaining\n"
"73.3% through the year, 26.7% remaining\n"
]
}
],
Expand Down Expand Up @@ -833,14 +833,14 @@
" <th>crashes</th>\n",
" <td>19</td>\n",
" <td>35</td>\n",
" <td>21</td>\n",
" <td>20</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Warren</th>\n",
" <th>crashes</th>\n",
" <td>6</td>\n",
" <td>11</td>\n",
" <td>10</td>\n",
" <td>11</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
Expand All @@ -859,8 +859,8 @@
"Salem crashes 8 11 11\n",
"Somerset crashes 14 21 12\n",
"Sussex crashes 3 6 10\n",
"Union crashes 19 35 21\n",
"Warren crashes 6 11 10\n",
"Union crashes 19 35 20\n",
"Warren crashes 6 11 11\n",
"\n",
"[105 rows x 3 columns]"
]
Expand Down Expand Up @@ -1086,17 +1086,17 @@
" </tr>\n",
" <tr>\n",
" <th>Union</th>\n",
" <td>38</td>\n",
" <td>37</td>\n",
" <td>1</td>\n",
" <td>17</td>\n",
" <td>3</td>\n",
" <td>23</td>\n",
" <td>21</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Warren</th>\n",
" <td>17</td>\n",
" <td>19</td>\n",
" <td>1</td>\n",
" <td>12</td>\n",
" <td>13</td>\n",
" <td>2</td>\n",
" <td>3</td>\n",
" </tr>\n",
Expand Down Expand Up @@ -1126,8 +1126,8 @@
"Salem 15 4 7 4 2\n",
"Somerset 18 0 11 0 15\n",
"Sussex 18 1 9 2 2\n",
"Union 38 1 17 3 23\n",
"Warren 17 1 12 2 3"
"Union 37 1 17 3 21\n",
"Warren 19 1 13 2 3"
]
},
"execution_count": 8,
Expand Down
4 changes: 2 additions & 2 deletions www/public/njsp/projected.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Passaic,33,0,20,2,11
Salem,15,4,7,4,2
Somerset,18,0,11,0,15
Sussex,18,1,9,2,2
Union,38,1,17,3,23
Warren,17,1,12,2,3
Union,37,1,17,3,21
Warren,19,1,13,2,3

0 comments on commit 396c08d

Please sign in to comment.