Description Usage Format Source See Also
A dataset of 888072 crash causes, recorded by the New Zealand Transport
Agency (NZTA) as being causes of crashes in the crashes
dataset. There is a many-to-one relationship between causes and crashes.
They can be joined by the common column id (see the example below).
Alternatively, each cause can be associated with a specific vehicle in each
crash, by first joining the vehicles dataset to the
crashes one, and then joining the causess dataset by the
two common columns id and vehicle_id.
Other attributes in a many-to-one relationship with the crashes are
available in the datasets vehicles, and
objects_struck.
1 |
A data frame with 888072 rows and 7 variables:
Unique number identifying the crash, by which the link{crashes} table can be joined.
Unique identifier of the cause of each crash (unique in combination with id.
Identifier of cause in the data dictionary.
Vehicle in the crash with which the cause is associated.
Description of the cause.
Highest-level group to which the cause belongs.
Lowest-level group to which the cause belongs.
http://www.nzta.govt.nz/resources/crash-analysis-system-data/
A comprehensive data dictionary is provided by the NZTA at
http://www.nzta.govt.nz/assets/resources/guide-to-coded-crash-reports/docs/guide-to-coded-crash-reports.pdf.
A copy of it is distributed with this package in the extdata
directory.
Details about how crash reports are completed are provided by the NZTA at
http://www.nzta.govt.nz/assets/resources/traffic-crash-reports/docs/traffic-crash-reports.pdf.
A copy of it is distributed with this package in the extdata
directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.