Description Usage Arguments Value Examples
This is a simple function that remain 2 variables of the accident data file of the year you choose, month and year.
When it meets an error, it will return "invaild year: year
"
1 | fars_read_years(years)
|
years |
a vector that contains the year numbers |
The function will return new tibbles with 2 columns(monthe and year), or a warning message:invaild year: year
and "NULL"
1 | ## Not run: fars_read_years(c(2013,2014,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.