format_accidents: Format STATS19 'accidents' data

Description Usage Arguments Details Examples

View source: R/format.R

Description

Format STATS19 'accidents' data

Usage

1

Arguments

x

Data frame created with read_accidents()

Details

This is a helper function to format raw STATS19 data

Examples

1
2
3
dl_stats19(year = 2017, type = "accident")
x = read_accidents(year = 2017)
crashes = format_accidents(x)

ITSLeeds/stats19 documentation built on May 4, 2019, 7:35 a.m.