This is a simple function that creates a wide table containing the monthly number of accidents for a given vector of years.
a vector of 4 digits years.
This function returns a tibble with 12 rows for each month and the selected years as variables.
This function returns an error if the selected year argument does not exist in the available data sets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.