vehicles: Vehicles involved in crashes.

Description Usage Format Source See Also

Description

A dataset of 979930 vehicles, recorded by the New Zealand Transport Agency (NZTA) as being involved in crashes in the crashes dataset. There is a many-to-one relationship between vehicles and crashes. They can be joined by the common column id (see the example below).

Other attributes in a many-to-one relationship with the crashes are available in the datasets causes, and objects_struck.

Usage

1

Format

A data frame with 979930 rows and three variables:

id

Unique number identifying the crash, by which the link{crashes} table can be joined.

vehicle_id

Unique identifier of the vehicle in each crash (unique in combination with id.

vehicle

Type of vehicle (car, truck, etc.).

Source

http://www.nzta.govt.nz/resources/crash-analysis-system-data/

See Also

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.


nacnudus/nzcrash documentation built on May 23, 2017, 9:36 a.m.