prius_mpg: User reported fuel efficiency for 2017 Toyota Prius Prime

Description Usage Format Source Examples

Description

Fueleconomy.gov, the official US government source for fuel economy information, allows users to share gas mileage information on their vehicles. These data come from 19 users sharing gas mileage on their 2017 Toyota Prius Prime. Note that these data are user estimates and since the sources data cannot be verified, the accuracy of these estimates are not guaranteed.

Usage

1

Format

A tibble with 19 observations on the following 10 variables.

average_mpg

Average mileage as estimated by the user.

state

US State the user lives in.

stop_and_go

Proportion of stop and go driving.

highway

roportion of highway driving.

last_updated

Date estimate was last updated.

Source

Fueleconomy.gov, https://www.fueleconomy.gov/mpg/MPG.do?action=mpgData&vehicleID=38531&browser=true&details=on, retrieved on April 14, 2019.

Examples

1
2
3
4
5
library(ggplot2)
library(dplyr)

ggplot(prius_mpg, aes(x = average_mpg)) +
  geom_histogram(binwidth = 25)

OpenIntroStat/openintro-r-package documentation built on Jan. 22, 2020, 3:23 p.m.