Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/mtcars
A testing dataset containing car measurements.
https://github.com/derhuerst/mtcars
cars data-science dataset statistics
Last synced: about 1 month ago
JSON representation
A testing dataset containing car measurements.
- Host: GitHub
- URL: https://github.com/derhuerst/mtcars
- Owner: derhuerst
- Created: 2017-10-17T14:01:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T14:23:57.000Z (about 7 years ago)
- Last Synced: 2024-09-17T20:30:08.415Z (about 2 months ago)
- Topics: cars, data-science, dataset, statistics
- Homepage: https://github.com/derhuerst/mtcars#mtcars
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# mtcars
**A testing dataset containing car measurements.** Also, checkout the [CSV version](https://gist.github.com/seankross/a412dfbd88b3db70b74b).
> *mtcars* is a demonstration dataset included in every R installation. It is a 32 x 11 data.frame: 11 measures (horsepower, engine displacement, miles per gallon, ...) on 32 cars published in the 1974 Motor Trend magazine. Of limited intrinsic interest, it is nonetheless useful for learning introductory data exploration techniques.
– [*Explore a classic R dataset: mtcars*](https://github.com/oncoscape/chinook/wiki/Explore--a-classic-R-dataset:--mtcars)
[![npm version](https://img.shields.io/npm/v/mtcars.svg)](https://www.npmjs.com/package/mtcars)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/mtcars.svg)
[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)## Installing
```shell
npm install mtcars
```## Usage
```js
const mtcars = require('mtcars')console.log(mtcars[0])
``````js
{
model: 'Mazda RX4',
mpg: 21,
cyl: 6,
disp: 160,
hp: 110,
drat: 3.9,
wt: 2.62,
qsec: 16.46,
vs: 0,
am: 1,
gear: 4,
carb: 4
}
```## Source
[Henderson and Velleman (1981), Building multiple regression models interactively. Biometrics, 37, 391–411.](http://hsta559s12.pbworks.com/w/file/fetch/52612745/mtcars.pdf)