fars | R Documentation |
The fars
data frame has 5662 rows and 5 columns of
vehicle crashes in the United States in 2020.
This data frame contains the following columns:
the five-digit codes of U.S. counties (FIPS 6-4).
a dummy variable for weekday (0
) and weekend day (1
).
longitude of the county's barycenter.
latitude of the county's barycenter.
the count of vehicle crashes.
The original data with individual accident records are publicly available from the Fatality Analysis Reporting System (FARS) database. This aggregated dataset is restricted to the year 2020, it excludes individual records with missing information on accident location. It also excludes accidents occurred in Alaska and Hawaii. The dataset is balanced, i.e., combinations of fips
and weekend
with no recorded accidents have 0 counts.
Fatality Analysis Reporting System, National Highway Traffic Safety Administration, https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.