VehEffUS {GmooG}R Documentation

Fuel economy data for car models in the US

Description

Fuel economy data for individual models of cars and trucks provided by the US Department of Energy.

Usage

data(VehEffUS)

Format

A data frame with 43516 observations on the following 16 variables.

year

model year, from 1984 to 2022)

make

make of car

model

model of car

VClass

class of vehicle

cylinders

number of cylinders, from 2 to 16

atvType

type of alternative fuel or advanced technology vehicle

displ

engine displacement in liters

drive

drive axle type

trany

transmission

city

city MPG for fuelType1

highway

highway MPG for fuelType1

combined

combined MPG for fuelType1

fuelCostA08

annual fuel cost for fuelType1 ($)

fuelType1

main fuel type

barrels08

annual petroleum consumption in barrels for fuelType1

co2TailpipeGpm

tailpipe CO2 in grams/mile for fuelType1

Details

This dataset is used in Chapter 17, "Fuel efficiency of cars in the USA".

Source

Selection of variables from https://www.fueleconomy.gov/feg/epadata/vehicles.csv.zip

Examples

data(VehEffUS, package="GmooG")
with(VehEffUS, table(drive))

[Package GmooG version 0.7 Index]