Teaching Data for Statistics and Data Science

Provides data sets for teaching statistics and data science courses. It includes a sample of data from John Edmund Kerrich's famous coinflip experiment. These are data that I use for teaching SOC 4015 / SOC 5050 at Saint Louis University.


Travis-CI BuildStatus AppVeyor BuildStatus DOI CRAN_Status_Badge

The goal of testDriveR is to provide data sets for teaching statistics and data science courses. This package includes a sample of data from John Edmund Kerrich’s famous coinflip experiment. These are data that I use for teaching SOC 4015 / SOC 5050 at Saint Louis University.

Installation

The easiest way to get testDriveR is to install it from CRAN:

install.packages("testDriveR")

You can also install the development version of testDriveR from Github with remotes:

# install.packages("remotes")
remotes::install_github("chris-prener/testDriveR")

Current Data

The package currently contains five data tables:

  • auto17 - A data set containing model year 2017 vehicles for sale in the United States
  • childMortality - A data set containing childhood mortality time series data by country from UNICEF
  • gss14 - A data set containing a selection of variables related to work and education from the 2014 General Social Survey
  • gss14_simple - A simple version of gss14 without factors created and without missing data explicitly declared
  • kerrich - A data set containing 2000 trials of coin flips by John Edmund Kerrich

Useage

Once loaded, the data contained in testDriveR can be loaded into data frames in your global environment and then explored. For example, to load the auto17 data:

library("testDriveR")
autoData <- auto17
str(autoData)

Data Creation

If you are interested in the original data/code used to create the included data, you can find them at:

Contributor Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

News

testDriveR 0.4.0

  • Added a NEWS.md file to track changes to the package.
  • Switched GSS data to 2014, variables have remained the same
  • Updated package template including website, DESCRIPTION, README, LICENSE, and help files

testDriveR 0.3.0

  • adds a data set of childhood mortality data from UNICEF.

testDriveR 0.2.2

  • This release completes backend changes for now - Travis-CI and Appveyor integration has been expanded to included prior releases of R and the minimum version of R has been clarified.

testDriveR 0.2.1

  • This release covers backend changes, like integrating testDriveR with Travis CI and Appveyor.

testDriveR 0.2.0

  • Adds kerrich data to package!

testDriveR 0.1.2

  • This release fixes some inconsistencies in the gss16 and gss16_Miss data files.

testDriveR 0.1.1

  • This release adds R functions for loading the gss16 and gss16_Miss data, which were left out of the initial release.

testDriveR 0.1.0

  • This is the initial public release. It contains three data sets for teaching statistics and data science drawn from publicly available data from the Department of Transportation and NORC's General Social Survey.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("testDriveR")

0.4.0 by Christopher Prener, 5 months ago


https://github.com/chris-prener/testDriveR


Report a bug at https://github.com/chris-prener/testDriveR/issues


Browse source code at https://github.com/cran/testDriveR


Authors: Christopher Prener [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Suggests dplyr, ggplot2, testthat


See at CRAN