Learn R Programming

Qtools (version 1.6.0)

fars: FARS Data

Description

The fars data frame has 5662 rows and 5 columns of vehicle crashes in the United States in 2020.

Arguments

Format

This data frame contains the following columns:

fips

the five-digit codes of U.S. counties (FIPS 6-4).

weekend

a dummy variable for weekday (0) and weekend day (1).

longitude

longitude of the county's barycenter.

latitude

latitude of the county's barycenter.

count

the count of vehicle crashes.

Details

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.