This function creates a map of fatal vehicle traffic crashes in a specified state and year.
Integer or character vector for the state FIPS number to map.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.