]> git.vanrenterghem.biz Git - www2.vanrenterghem.biz.git/blobdiff - source/posts/explore-AU-road-fatalities.org
Zorg dat post index pagina semantisch correct is.
[www2.vanrenterghem.biz.git] / source / posts / explore-AU-road-fatalities.org
index ce66e5abcfe553ffa7a95271bb472cc75f962831..6c60f336d07a8ec05b90fd133afeaf5be35b24f7 100644 (file)
@@ -2,10 +2,6 @@
 #+filetags: :R:analysis:
 #+title: Explore Australian road fatalities.
 
-** Road fatalities in Australia
-:PROPERTIES:
-:CUSTOM_ID: road-fatalities-in-australia
-:END:
 Recently inspired to doing a little analysis again, I landed on a
 dataset from
 [[https://bitre.gov.au/statistics/safety/fatal_road_crash_database.aspx]],
@@ -15,6 +11,7 @@ great example of how governments are moving with the times!
 ** Trends
 :PROPERTIES:
 :CUSTOM_ID: trends
+:HTML_CONTAINER_CLASS: card-body
 :END:
 I started by looking at the trends - what is the approximate number of
 road fatalities a year, and how is it evolving over time? Are there any
@@ -33,6 +30,7 @@ differences noticeable between states? Or by gender?
 ** What age group is most at risk in city traffic?
 :PROPERTIES:
 :CUSTOM_ID: what-age-group-is-most-at-risk-in-city-traffic
+:HTML_CONTAINER_CLASS: card-body
 :END:
 Next, I wondered if there were any particular ages that were more at
 risk in city traffic. I opted to quickly bin the data to produce a
@@ -57,6 +55,7 @@ fatalities %>%
 ** Hypothesis
 :PROPERTIES:
 :CUSTOM_ID: hypothesis
+:HTML_CONTAINER_CLASS: card-body
 :END:
 Based on the above, I wondered - are people above 65 more likely to die
 in slow traffic areas? To make this a bit easier, I added two variables
@@ -130,6 +129,7 @@ prop.test(pensioners,everyone)
 ** Conclusion
 :PROPERTIES:
 :CUSTOM_ID: conclusion
+:HTML_CONTAINER_CLASS: card-body
 :END:
 It's possible to conclude older people are over-represented in the
 fatalities in lower speed zones. Further ideas for investigation are