The function will read files in the form "accident_'year'.csv.bz2" where 'year' is inputted
by user, read the data as a tibble and then select columns 'MONTH' and 'year' as output.
If file "accident_'year'.csv.bz2" does not exist, it will print a warning message and return
NULL. You can input the year using
The years in list you want to process
a tibble with columns 'MONTH' and 'year'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.