Retrieve Australian Fatal Crash Data
oz_road_fatal_crash.Rd
This function pulls data from the Australian Road Deaths Database, specifically, the circumstances of the crash, for example, date, location, crash type.
Value
a dataset (tibble) of fatal crash data
Format: a data frame with 43,345 observations on the following 14 variables.
- `crash_id`
An integer, 13 digits, unique to each crash
- `state`
Text, Austraian jurisdiction, Abbreviation for each state and territory. QLD = Queensland, NSW = New South Wales, ACT = Australian Capital Territory, VIC = Victoria, TAS = TASMANIA, SA = South Australia, WA = Western Australian, NT = Northern Territory
- `date`
Date, Year, Month. This is the date of the crash, but with unknown date (set to 1st)
- `month`
Integer, the month of the date of the crash
- `year`
Integer, the year of the date of the crash
- `weekday`
Text the weekday of the date of the crash
- `time`
Time, the time of the date of the crash
- `date_time`
POSIXct, the date time of the crash
- `n_fatalities`
Integer, number of killed persons in the crash
- `crash_type`
Character, Code summarising the type of type of crash. Single, Multiple, or Pedestrian
- `bus`
logical - whether a bus was involved in the crash (TRUE) or not (FALSE)
- `heavy_rigid_truck`
logical - whether a heavy rigid truck was involved in the crash (TRUE) or not (FALSE)
- `articualated_truck`
logical - whether a articulated trucl was involved in the crash (TRUE) or not (FALSE)
- `speed_limit`
Integer, posted speed limit at the location of crash