fars_read_years take as an argument a four-digit year and
makes a dataset containing columns month and year of an accident that occurred
Four-digit year, as integer or as a string (i.e. 2001, "2001").
Data frame with columns:
a value between 1 and 12, 1 for January, 12 for December
four-digit value for a year
If the requested year input is not present in the data, the function returns a warning: "invalid year".
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.