Skip to content

Commit 348d976

Browse files
committed
Split non-motorist maps into separate pedestrian and cyclist maps.
1) Update notebook and produce maps. 2) Change maps part of website to have separate pedestrian and cyclist maps with 5 year span.
1 parent 78c0e1a commit 348d976

14 files changed

+286
-506
lines changed

6-map-pedestrian-cyclist-collisions.ipynb

+70-190
Large diffs are not rendered by default.

docs/_data/navigation.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@
99
link: /content/maps/serious_collisions_20_21
1010
- name: Serious Collisions 2018 - 2019
1111
link: /content/maps/serious_collisions_18_19
12-
- name: Pedestrian / Cyclist Collisions 2022 - 2023
13-
link: /content/maps/non_motor_collisions_22_23
14-
- name: Pedestrian / Cyclist Collisions 2020 - 2021
15-
link: /content/maps/non_motor_collisions_20_21
16-
- name: Pedestrian / Cyclist Collisions 2018 - 2019
17-
link: /content/maps/non_motor_collisions_18_19
12+
- name: Pedestrian Collisions 2018 - 2023
13+
link: /content/maps/pedestrian_18_23
14+
- name: Cyclist Collisions 2018 - 2023
15+
link: /content/maps/cyclist_18_23
1816

1917
- name: Hot Spots
2018
link: /content/hotspots
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<em>Collisions from 1 January 2018 through 31 December 2023</em>

docs/content/maps.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ hide_hero: true
99
- [Serious Collisions 2022 - 2023]({{ "/content/maps/serious_collisions_22_23" | relative_url }})
1010
- [Serious Collisions 2020 - 2021]({{ "/content/maps/serious_collisions_20_21" | relative_url }})
1111
- [Serious Collisions 2018 - 2019]({{ "/content/maps/serious_collisions_18_19" | relative_url }})
12-
- [Collisions with Pedestrians & Cyclists 2022 - 2023]({{ "/content/maps/non_motor_collisions_22_23" | relative_url }})
13-
- [Collisions with Pedestrians & Cyclists 2020 - 2021]({{ "/content/maps/non_motor_collisions_20_21" | relative_url }})
14-
- [Collisions with Pedestrians & Cyclists 2018 - 2019]({{ "/content/maps/non_motor_collisions_18_19" | relative_url }})
12+
- [Collisions with Pedestrians 2018 - 2023]({{ "/content/maps/pedestrian_18_23" | relative_url }})
13+
- [Collisions with Cyclists 2018 - 2023]({{ "/content/maps/cyclist_18_23" | relative_url }})
1514

16-
_Serious collisions are collisions that result in injury or death._
15+
{% include serious.html %}

docs/content/maps/cyclist_18_23.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: page
3+
title: Map of Vehicle Collisions with Cyclists in New York City 2018 - 2023
4+
description: Interactive map of vehicle collisions (crashes) with cyclists in New York City (NYC) 2018 - 2023
5+
hide_hero: true
6+
---
7+
# Vehicle Collisions with Cyclists 2018 - 2023
8+
9+
{% include visit_github.html %}
10+
11+
{% include slow_load.html %}
12+
13+
{% include click.html %}
14+
<iframe src="cyclist_map_18_23.html" title="Marker cluster map of collisions with cyclists in New York City"></iframe>
15+
{% include map_data_range_18_23.html %}

docs/content/maps/cyclist_map_18_23.html

+89
Large diffs are not rendered by default.

docs/content/maps/non_motor_collisions_18_19.md

-15
This file was deleted.

docs/content/maps/non_motor_collisions_20_21.md

-12
This file was deleted.

docs/content/maps/non_motor_collisions_22_23.md

-12
This file was deleted.

docs/content/maps/non_motor_map_18_19.html

-89
This file was deleted.

docs/content/maps/non_motor_map_20_21.html

-89
This file was deleted.

docs/content/maps/non_motor_map_22_23.html

-89
This file was deleted.

docs/content/maps/pedestrian_18_23.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: page
3+
title: Map of Vehicle Collisions with Pedestrians in New York City 2018 - 2023
4+
description: Interactive map of vehicle collisions (crashes) with pedestrians in New York City (NYC) 2018 - 2023
5+
hide_hero: true
6+
---
7+
# Vehicle Collisions with Pedestrians 2018 - 2023
8+
9+
{% include visit_github.html %}
10+
11+
{% include slow_load.html %}
12+
13+
{% include click.html %}
14+
<iframe src="pedestrian_map_18_23.html" title="Marker cluster map of collisions with pedestrians in New York City"></iframe>
15+
{% include map_data_range_18_23.html %}

docs/content/maps/pedestrian_map_18_23.html

+89
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)