casualties_lookup
|
Stats19 schema and variables |
cluster_junction()
|
Cluster junction points into polygons |
crashes_wf
|
Sample STATS19 data |
line_segment_sf()
|
Break a line into segments |
nn_line()
|
Fast search for the nearest lines to a set of points |
nn_point()
|
Fast search for the nearest point to another set of points |
osm_consolidate()
|
Consolidate roads into simplified network |
osm_get_junctions()
|
Extract junction points from OSM road linestrings |
osm_main_roads()
|
Select the main roads from OSM |
tc_data_osm
|
Example OSM dataset |
tc_get_cid()
|
Get traffic calming data from the Cycling Infrastructure Database (CID) |
tc_get_osm()
|
Get traffic calming interventions from OpenStreetMap |
tc_join_stats19()
|
Basic draft of tc_join_stats19_ac whilst I try to understand issue #24. |
tc_join_stats19_for_upset()
|
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. |
tc_recode()
|
Recode character strings based on regular expressions |
tc_recode_casualties()
|
Recode casualty_type variable from STATS19 data |
tc_recode_speeds_uk()
|
Recode maxspeed values in OSM |
tc_recode_vehicle_type()
|
Recode vehicle type |
tc_traffic_calming()
|
Ge traffic calming measures for an area from OSM |
tc_upset()
|
Create 'who-hit-who' visualisations |