https://github.com/chris-prener/testdriver
R package with data for teaching Statistics and Data Science
Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
2 of 2 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.8%) to scientific vocabulary
Keywords
datascience
package
r
rstats
statistics
teaching
Last synced: 6 months ago
·
JSON representation
Repository
R package with data for teaching Statistics and Data Science
Basic Info
- Host: GitHub
- Owner: chris-prener
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://chris-prener.github.io/testDriveR/
- Size: 1.63 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 11
Topics
datascience
package
r
rstats
statistics
teaching
Created over 8 years ago
· Last pushed about 1 year ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# testDriveR

[](https://cran.r-project.org/package=testDriveR)
[](https://cran.r-project.org/web/checks/check_results_testDriveR.html)
[](https://www.r-pkg.org/pkg/testDriveR)
[](https://doi.org/10.32614/CRAN.package.testDriveR)
[](https://zenodo.org/badge/latestdoi/95270521)
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 coin flip experiment. These are data that I used for teaching [SOC 4015 / SOC 5050](https://slu-soc5050.github.io) at [Saint Louis University](https://www.slu.edu).
The package also includes an R Markdown template for completing assignments. This was the *required* format for authoring R Markdown documents in my courses [SOC 4015 / SOC 5050](https://slu-soc5050.github.io) and [SOC 4650 / SOC 5650](https://slu-soc5650.github.io) at [Saint Louis University](https://www.slu.edu). A quick overview is included below.
## Installation
The easiest way to get `testDriveR` is to install it from CRAN:
``` r
install.packages("testDriveR")
```
You can also install the development version of `testDriveR` from [Github](https://github.com/chris-prener/testDriveR) with `remotes`:
```{r gh-installation, eval = FALSE}
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](https://en.wikipedia.org/wiki/John_Edmund_Kerrich)
### Usage
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:
```r
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:
* `auto17` is documented in [Chris's `autoData` repository](https://github.com/chris-prener/autoData)
* `childMortality` is documented in [Chris's `childMortality` repository](https://github.com/chris-prener/childMortality)
* `gss14` and `gss14_simple` are documented in [Chris's `gss14` repository](https://github.com/chris-prener/gss14)
* `kerrich` is documented in the [`extdata` directory](/inst/extdata/kerrich.R)
## R Markdown Template
The package also includes a template that my students use for getting started with `R` based assignments. It can be accessed from within RStudio by going to `File > New File > R Markdown...` and then selecting `SLU Sociology Assignments` under `Template`:

The template includes `YAML` for generating both `.nb.html` and `.md` output, a pre-formatted date that updates each time the document is knit, and initial code blocks for loading dependencies and data.
## Contributor Code of Conduct
Please note that this project is released with a [Contributor Code of Conduct](https://chris-prener.github.io/testDriveR/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.
Owner
- Name: Chris Prener
- Login: chris-prener
- Kind: user
- Location: St. Louis, MO
- Company: Pfizer
- Website: https://chris-prener.github.io
- Twitter: chrisprener
- Repositories: 6
- Profile: https://github.com/chris-prener
Director, Vaccines RWE Biocurator Scientist 🚀 and Sociologist interested in vaccines, health outcomes and disparities, geospatial data science, and demography
GitHub Events
Total
- Issues event: 1
- Push event: 6
Last Year
- Issues event: 1
- Push event: 6
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Christopher Prener | c****r@s****u | 132 |
| Christopher Prener | p****g@s****u | 8 |
Committer Domains (Top 20 + Academic)
slu.edu: 2
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 6
- Total pull requests: 5
- Average time to close issues: about 1 year
- Average time to close pull requests: 23 minutes
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- chris-prener (6)
Pull Request Authors
- chris-prener (5)
Top Labels
Issue Labels
enhancement (3)
bug (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 196 last-month
- Total dependent packages: 1
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: testDriveR
Teaching Data for Statistics and Data Science
- Homepage: https://chris-prener.github.io/testDriveR/
- Documentation: http://cran.r-project.org/web/packages/testDriveR/testDriveR.pdf
- License: GPL-3
-
Latest release: 0.5.3
published about 1 year ago
Rankings
Dependent packages count: 18.7%
Forks count: 21.9%
Stargazers count: 28.5%
Average: 33.9%
Dependent repos count: 35.5%
Downloads: 64.8%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- dplyr * suggests
- ggplot2 * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yml
actions
- JamesIves/github-pages-deploy-action 4.1.4 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite