Skip to content

Commit 78c0e1a

Browse files
committed
Replace 'visit Github' and serious collision definition with liquid tags.
1 parent e7f760c commit 78c0e1a

23 files changed

+37
-25
lines changed

docs/_includes/serious.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<span>Serious collisions are collisions that result in injury or death.</span>

docs/_includes/visit_github.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<span>Please visit the project <a href="https://github.com/ray310/NYC-Vehicle-Collisions">GitHub page</a> to see how this was made.</span>

docs/content/citycouncil/citycouncil_cyclist.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ description: Choropleth map of average annual vehicle collisions (crashes) with
55
hide_hero: true
66
---
77
# Vehicle Collisions with Cyclists by NYC City Council District
8-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
8+
9+
{% include visit_github.html %}
910

1011
{% include click_cc.html %}
1112
<iframe src="district_cyclist_map.html" title="Choropleth map of collisions with cyclists by NYC City Council District"></iframe>

docs/content/citycouncil/citycouncil_fatal.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ description: Choropleth map of average annual fatal (deaths) vehicle collisions
55
hide_hero: true
66
---
77
# Fatal Vehicle Collisions by NYC City Council District
8-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
8+
9+
{% include visit_github.html %}
910

1011
{% include click_cc.html %}
1112
<iframe src="district_fatal_map.html" title="Choropleth map of fatal collisions by NYC City Council District"></iframe>

docs/content/citycouncil/citycouncil_pedestrian.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ description: Choropleth map of average annual vehicle collisions (crashes) with
55
hide_hero: true
66
---
77
# Vehicle Collisions with Pedestrians by NYC City Council District
8-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
8+
9+
{% include visit_github.html %}
910

1011
{% include click_cc.html %}
1112
<iframe src="district_pedestrian_map.html" title="Choropleth map of collisions with pedestrians by NYC City Council District"></iframe>

docs/content/citycouncil/citycouncil_serious.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide_hero: true
77
# Serious Vehicle Collisions by NYC City Council District
88
Serious collisions are collisions that result in injury or death.
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include click_cc.html %}
1313
<iframe src="district_serious_map.html" title="Choropleth map of serious collisions by NYC City Council District"></iframe>

docs/content/hotspots/clusters_non_motor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide_hero: true
77
# Dangerous Areas for Pedestrians and Cyclists
88
Dangerous areas for pedestrians and cyclists are clusters of collisions with a high number of pedestrian / cyclist injuries and deaths from vehicle collisions. Clusters were identified by tuning a density-based clustering algorithm.
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include slow_load.html %}
1313

docs/content/hotspots/clusters_serious.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide_hero: true
77
# Dangerous Areas
88
Dangerous areas are clusters of collisions with a high number of injuries and deaths from vehicle collisions. Clusters were identified by tuning a density-based clustering algorithm.
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include slow_load.html %}
1313

docs/content/hotspots/points_non_motor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide_hero: true
77
# Dangerous Locations for Pedestrians and Cyclists
88
Single points with a high number of pedestrian / cyclist injuries and deaths from vehicle collisions.
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include click.html %}
1313
<iframe src="points_serious_map.html" title="Map of single points with a high number of pedestrian injuries and deaths"></iframe>

docs/content/hotspots/points_serious.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide_hero: true
77
# Dangerous Locations
88
Single points with a high number of injuries and deaths from vehicle collisions.
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include click.html %}
1313
<iframe src="points_serious_map.html" title="Map of single points with a high number of injuries and deaths"></iframe>

docs/content/maps/fatal_collisions.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ hide_hero: true
66
---
77
# Fatal Vehicle Collisions
88

9-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10-
9+
{% include visit_github.html %}
1110

1211
{% include click.html %}
1312
<iframe src="fatal_map.html" title="Marker cluster map of fatal collisions in New York City"></iframe>

docs/content/maps/non_motor_collisions_18_19.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hide_hero: true
66
---
77
# Vehicle Collisions with Pedestrians and Cyclists 2018 - 2019
88

9-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
9+
{% include visit_github.html %}
1010

1111
{% include slow_load.html %}
1212

docs/content/maps/serious_collisions_18_19.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: Interactive map of serious vehicle collisions (causing injuries or
55
hide_hero: true
66
---
77
# Serious Vehicle Collisions 2018 - 2019
8-
Serious collisions are collisions that result in injury or death.
8+
{% include serious.html %}
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include slow_load.html %}
1313

docs/content/maps/serious_collisions_20_21.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: Interactive map of serious vehicle collisions (causing injuries or
55
hide_hero: true
66
---
77
# Serious Vehicle Collisions 2020 - 2021
8-
Serious collisions are collisions that result in injury or death.
8+
{% include serious.html %}
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include slow_load.html %}
1313

docs/content/maps/serious_collisions_22_23.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: Interactive map of serious vehicle collisions (causing injuries or
55
hide_hero: true
66
---
77
# Serious Vehicle Collisions 2022 - 2023
8-
Serious collisions are collisions that result in injury or death.
8+
{% include serious.html %}
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include slow_load.html %}
1313

docs/content/police/precinct_cyclist.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hide_hero: true
66
---
77
# Vehicle Collisions with Cyclists by NYPD Precinct
88

9-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
9+
{% include visit_github.html %}
1010

1111
{% include click_choro.html %}
1212
<iframe src="precinct_cyclist_map.html" title="Choropleth map of collisions with cyclists by NYPD precinct"></iframe>

docs/content/police/precinct_fatal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hide_hero: true
66
---
77
# Fatal Vehicle Collisions by NYPD Precinct
88

9-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
9+
{% include visit_github.html %}
1010

1111
{% include click_choro.html %}
1212
<iframe src="precinct_fatal_map.html" title="Choropleth map of fatal collisions by NYPD precinct"></iframe>

docs/content/police/precinct_pedestrian.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hide_hero: true
66
---
77
# Vehicle Collisions with Pedestrians by NYPD Precinct
88

9-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
9+
{% include visit_github.html %}
1010

1111
{% include click_choro.html %}
1212
<iframe src="precinct_pedestrian_map.html" title="Choropleth map of collisions with pedestrians by NYPD precinct"></iframe>

docs/content/police/precinct_serious.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description: Choropleth map of average annual serious vehicle collisions (causin
55
hide_hero: true
66
---
77
# Serious Vehicle Collisions by NYPD Precinct
8-
Serious collisions are collisions that result in injury or death.
8+
{% include serious.html %}
99

10-
Please visit the project [GitHub page](https://github.com/ray310/NYC-Vehicle-Collisions) to see how this map was made.
10+
{% include visit_github.html %}
1111

1212
{% include click_choro.html %}
1313
<iframe src="precinct_serious_map.html" title="Choropleth map of serious collisions by NYPD precinct"></iframe>

docs/content/trends/monthly.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ description: Average monthly vehicle collisions, collision injuries and deaths,
55
hide_hero: true
66
---
77
# Collisions by Month
8-
_Serious collisions are collisions that result in injury or death_
8+
{% include serious.html %}
9+
10+
{% include visit_github.html %}
911

1012
<hr class="hr">
1113
#### Collisions are elevated from May to October

docs/content/trends/seasonal.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ description: Seasonal vehicle collisions with injuries and deaths, and collision
55
hide_hero: true
66
---
77
# Collisions by Season
8-
_Serious collisions are collisions that result in injury or death_
8+
{% include serious.html %}
9+
10+
{% include visit_github.html %}
911

1012
<hr class="hr">
1113
#### Serious collisions peak in summer but collisions with pedestrians and cyclists peak in the fall

docs/content/trends/weekly.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ description: Weekly vehicle collisions patterns with 2D-heatmaps (day-of-week, t
55
hide_hero: true
66
---
77
# Weekly Patterns
8-
_Serious collisions are collisions that result in injury or death_
8+
{% include serious.html %}
9+
10+
{% include visit_github.html %}
911

1012
<hr class="hr">
1113
#### Collisions increase from Sunday to Friday

docs/content/trends/yearly.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ hide_hero: true
66
---
77
# Annual Collisions
88

9+
{% include visit_github.html %}
10+
911
<hr class="hr">
1012
#### Collisions have been trending upwards since dropping in 2020
1113
<img src="images/yearly_collisions.png">

0 commit comments

Comments
 (0)