## [1] 8146944 14
## rmc_crash1 <- subset(df_RI, Crash > 0)[!duplicated(subset(df_RI, Crash > 0)[,4]),]
rmc_crash2= df_RI[,-c(1)] %>% group_by(TMC) %>% summarize(Crashes=sum(Crash))
datatable(
rmc_crash2, extensions = 'Buttons', options = list(
dom = 'Bfrtip',
buttons = c('csv', 'excel', 'print')
)
)