tc_join_stats19_for_upset: Join STATS19 tables to generate UpSet plots with. In the case...

Description Usage Arguments

View source: R/tc_join_stats19.R

Description

Join STATS19 tables to generate UpSet plots with. In the case of vehicle type UpSet plots, the columns will be types of vehicles and a boolean to indicate if they were involved in the particular crash. The accident severity will remain as column too.

Usage

1
tc_join_stats19_for_upset(crashes, casualties, vehicles, pattern_match = NULL)

Arguments

crashes

The accidents table of crashes from STATS19 data

casualties

The casualty table from STATS19 data

vehicles

The vehicles table from STATS19 data

pattern_match

Character string in the form of c("car" = "car", "bike" = "bike") that replaces all parts of the match.


saferactive/traffiCalmr documentation built on Nov. 18, 2021, 5:06 a.m.