Expensive and fast cars. Not your father's mtcars. Each row describes a car of a certain make, model, year, and trim. Basic specifications such as horsepower, torque, EPA MPG ratings, type of drivetrain, and transmission characteristics are provided. The country of origin for the car manufacturer is also given.

gtcars

Format

A tibble with 47 rows and 15 variables:

mfr

The name of the car manufacturer

model

The car's model name

year

The car's model year

trim

A short description of the car model's trim

bdy_style

An identifier of the car's body style, which is either coupe, convertible, sedan, or hatchback

hp, hp_rpm

The car's horsepower and the associated RPM level

trq, trq_rpm

The car's torque and the associated RPM level

mpg_c, mpg_h

The miles per gallon fuel efficiency rating for city and highway driving

drivetrain

The car's drivetrain which, for this dataset is either rwd (Rear Wheel Drive) or awd (All Wheel Drive)

trsmn

The codified transmission type, where the number part is the number of gears; the car could have automatic transmission (a), manual transmission (m), an option to switch between both types (am), or, direct drive (dd)

ctry_origin

The country name for where the vehicle manufacturer is headquartered

Source

Various pages within https://www.edmunds.com.

Examples

# Here is a glimpse at the data # available in `gtcars` dplyr::glimpse(gtcars)
#> Observations: 47 #> Variables: 15 #> $ mfr <chr> "Ford", "Ferrari", "Ferrari", "Ferrari", "Ferrari", "Ferr… #> $ model <chr> "GT", "458 Speciale", "458 Spider", "458 Italia", "488 GT… #> $ year <dbl> 2017, 2015, 2015, 2014, 2016, 2015, 2017, 2015, 2015, 201… #> $ trim <chr> "Base Coupe", "Base Coupe", "Base", "Base Coupe", "Base C… #> $ bdy_style <chr> "coupe", "coupe", "convertible", "coupe", "coupe", "conve… #> $ hp <dbl> 647, 597, 562, 562, 661, 553, 680, 652, 731, 949, 573, 54… #> $ hp_rpm <dbl> 6250, 9000, 9000, 9000, 8000, 7500, 8250, 8000, 8250, 900… #> $ trq <dbl> 550, 398, 398, 398, 561, 557, 514, 504, 509, 664, 476, 43… #> $ trq_rpm <dbl> 5900, 6000, 6000, 6000, 3000, 4750, 5750, 6000, 6000, 675… #> $ mpg_c <dbl> 11, 13, 13, 13, 15, 16, 12, 11, 11, 12, 21, 16, 11, 16, 1… #> $ mpg_h <dbl> 18, 17, 17, 17, 22, 23, 17, 16, 16, 16, 22, 22, 18, 20, 2… #> $ drivetrain <chr> "rwd", "rwd", "rwd", "rwd", "rwd", "rwd", "awd", "awd", "… #> $ trsmn <chr> "7a", "7a", "7a", "7a", "7a", "7a", "7a", "7a", "7a", "7a… #> $ ctry_origin <chr> "United States", "Italy", "Italy", "Italy", "Italy", "Ita… #> $ msrp <dbl> 447000, 291744, 263553, 233509, 245400, 198973, 298000, 2…