Description Usage Arguments Value Examples
This function creates a map of fatal vehicle traffic crashes in a specified state and year.
1 | fars_map_state(state.num, year)
|
state.num |
Integer or character vector for the state FIPS number to map. |
year |
Integer or character vector for the year to map. |
map plot showing latitude and longitude locations of traffic fatalities in the specified state and year. If the function is not able to coerce the inputs to integers the function will generate an error. If the files are not found at the current working directory the function will return an error. Issues reading in the CSV files also return errors.
1 2 | fars_map_state(42, 2014)
fars_read_years(12, "2013")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.