Skip to contents

The dataset name has been changed to 'road_df' to avoid confusion with other packages in the R ecosystem. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and identifies it as a data frame. The original content of the dataset has not been modified.

Usage

data(road_df)

Format

A data frame with 26 observations and 6 variables:

deaths

Integer indicating the number of road deaths.

drivers

Integer representing the number of licensed drivers.

popden

Numeric indicating the population density (people per square mile).

rural

Numeric indicating the percentage of rural roads.

temp

Integer representing the average temperature (in degrees Fahrenheit).

fuel

Numeric indicating the fuel consumption per capita (in gallons).

Source

Data on road safety statistics, including deaths, drivers, population density, and environmental factors.