R Dataset / Package wooldridge / driving

Documentation

On this Picostat.com statistics page, you will find information about the driving data set which pertains to driving. The driving data set is found in the wooldridge R package. You can load the driving data set in R by issuing the following command at the console data("driving"). This will load the data into a variable called driving. If R says the driving data set is not found, you can try installing the package by issuing this command install.packages("wooldridge") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the driving R data set. The size of this file is about 328,786 bytes.


driving

Description

Data loads lazily. Type data(driving) into the console.

Usage

data(driving)

Format

A data.frame with 1200 rows and 56 variables:

  • year. 1980 through 2004

  • state. 48 continental states, alphabetical

  • sl55. speed limit == 55

  • sl65. speed limit == 65

  • sl70. speed limit == 70

  • sl75. speed limit == 75

  • slnone. no speed limit

  • seatbelt. =0 if none, =1 if primary, =2 if secondary

  • minage. minimum drinking age

  • zerotol. zero tolerance law

  • gdl. graduated drivers license law

  • bac10. blood alcohol limit .10

  • bac08. blood alcohol limit .08

  • perse. administrative license revocation (per se law)

  • totfat. total traffic fatalities

  • nghtfat. total nighttime fatalities

  • wkndfat. total weekend fatalities

  • totfatpvm. total fatalities per 100 million miles

  • nghtfatpvm. nighttime fatalities per 100 million miles

  • wkndfatpvm. weekend fatalities per 100 million miles

  • statepop. state population

  • totfatrte. total fatalities per 100,000 population

  • nghtfatrte. nighttime fatalities per 100,000 population

  • wkndfatrte. weekend accidents per 100,000 population

  • vehicmiles. vehicle miles traveled, billions

  • unem. unemployment rate, percent

  • perc14_24. percent population aged 14 through 24

  • sl70plus. sl70 + sl75 + slnone

  • sbprim. =1 if primary seatbelt law

  • sbsecon. =1 if secondary seatbelt law

  • d80. =1 if year == 1980

  • d81.

  • d82.

  • d83.

  • d84.

  • d85.

  • d86.

  • d87.

  • d88.

  • d89.

  • d90.

  • d91.

  • d92.

  • d93.

  • d94.

  • d95.

  • d96.

  • d97.

  • d98.

  • d99.

  • d00.

  • d01.

  • d02.

  • d03.

  • d04. =1 if year == 2004

  • vehicmilespc.

Source

https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041

Examples

 str(driving)
--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-20018.csv 321.08 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0