# NOT RUN {
# type by default is accidents table
dl_stats19(year = 2017)
# try multiple years
dl_stats19(year = 2017:2018)
# now you can read-in the data
dl_stats19(year = 2009)
dl_stats19(year = 2009, type = "casualties")
dl_stats19(type = "casualties")
dl_stats19(year = 1985)
# }
Run the code above in your browser using DataLab