Description Usage Arguments Examples
View source: R/tc_join_stats19.R
Basic draft of tc_join_stats19_ac whilst I try to understand issue #24.
1 2 3 4 5 6 | tc_join_stats19(
crashes = NULL,
casualties = NULL,
vehicles = NULL,
level = "accident"
)
|
crashes |
The accidents table of crashes from STATS19 data |
casualties |
The casualty table from STATS19 data |
vehicles |
The vehicles table from STATS19 data |
level |
one of "accidents", "casualities" or "vehicles". Shorter versions is ok too as a regex of first three letters is used. |
1 2 3 4 5 6 7 | ## Not run:
ac = stats19::get_stats19(year = 2019, type = "ac", output_format = "sf")
ca = stats19::get_stats19(year = 2019, type = "ca")
ve = stats19::get_stats19(year = 2019, type = "ve")
tc_join_stats19(ac, ca, veh, level = "veh")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.