included more bike and ped roles for school maps, fixed colors
This commit is contained in:
parent
ff64e72a65
commit
1116722a98
2 changed files with 42 additions and 12 deletions
|
@ -134,7 +134,7 @@ for(county in county_focus) {
|
|||
message(county)
|
||||
TOPS_data %>%
|
||||
filter(CNTYNAME %in% county) %>%
|
||||
filter(ROLE1 %in% c("BIKE", "PED") & age1 < 18 | ROLE2 %in% c("BIKE", "PED") & age2 < 18) %>%
|
||||
filter(ROLE1 %in% vuln_roles & age1 < 18 | ROLE2 %in% vuln_roles & age2 < 18) %>%
|
||||
group_by(year) %>% summarise(count = n_distinct(DOCTNMBR)) %>%
|
||||
ggplot() +
|
||||
geom_col(aes(x = year,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue