Description Usage Arguments Value Source See Also Examples
fars_map_state
filters the data by a certain US state and year and plots a map of accidents in that state.
the files need to be in the working directory.
1 | fars_map_state(state.num, year)
|
state.num |
a number of a state in US as integer |
year |
a year as integer/character |
a map with locations of accidents for the provided state number and year
Coursera Mastering Software Development in R - Johns Hopkins University
make_filename
fars_read_years
fars_summarize_years
fars_read
1 2 3 4 5 6 | ## Not run:
fars_map_state(45, 2015)
fars_map_state(2016) #example of error
fars_map_state(60, 2016) #example of error
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.