{"id":24998697,"url":"https://github.com/chris-prener/testdriver","last_synced_at":"2025-04-12T07:25:31.862Z","repository":{"id":56937000,"uuid":"95270521","full_name":"chris-prener/testDriveR","owner":"chris-prener","description":"R package with data for teaching Statistics and Data Science","archived":false,"fork":false,"pushed_at":"2025-02-02T19:10:56.000Z","size":1709,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T21:47:42.554Z","etag":null,"topics":["datascience","package","r","rstats","statistics","teaching"],"latest_commit_sha":null,"homepage":"https://chris-prener.github.io/testDriveR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chris-prener.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-24T02:26:51.000Z","updated_at":"2025-02-02T19:09:27.000Z","dependencies_parsed_at":"2022-08-21T07:20:33.914Z","dependency_job_id":null,"html_url":"https://github.com/chris-prener/testDriveR","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-prener%2FtestDriveR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-prener%2FtestDriveR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-prener%2FtestDriveR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-prener%2FtestDriveR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chris-prener","download_url":"https://codeload.github.com/chris-prener/testDriveR/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248532293,"owners_count":21119891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datascience","package","r","rstats","statistics","teaching"],"created_at":"2025-02-04T18:27:11.685Z","updated_at":"2025-04-12T07:25:31.837Z","avatar_url":"https://github.com/chris-prener.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n# testDriveR \u003cimg src=\"man/figures/logo.png\" align=\"right\" /\u003e\n\n![GitHub Workflow](https://github.com/chris-prener/testDriveR/actions/workflows/R-CMD-check.yaml/badge.svg)\n[![CRAN_status_badge](https://www.r-pkg.org/badges/version/testDriveR)](https://cran.r-project.org/package=testDriveR)\n[![cranchecks](https://badges.cranchecks.info/worst/testDriveR.svg)](https://cran.r-project.org/web/checks/check_results_testDriveR.html)\n[![Downloads](https://cranlogs.r-pkg.org/badges/testDriveR?color=brightgreen)](https://www.r-pkg.org/pkg/testDriveR)\n[![DOI](https://img.shields.io/badge/DOI-10.32614%2FCRAN.package.testDriveR-blue)](https://doi.org/10.32614/CRAN.package.testDriveR)\n[![DOI](https://zenodo.org/badge/95270521.svg)](https://zenodo.org/badge/latestdoi/95270521)\n\nThe 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).\n\nThe 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.\n\n## Installation\n\nThe easiest way to get `testDriveR` is to install it from CRAN:\n\n``` r\ninstall.packages(\"testDriveR\")\n```\n\nYou can also install the development version of `testDriveR` from [Github](https://github.com/chris-prener/testDriveR) with `remotes`:\n\n```{r gh-installation, eval = FALSE}\nremotes::install_github(\"chris-prener/testDriveR\")\n```\n\n## Current Data\nThe package currently contains five data tables:\n\n* `auto17` - A data set containing model year 2017 vehicles for sale in the United States\n* `childMortality` - A data set containing childhood mortality time series data by country from UNICEF\n* `gss14` - A data set containing a selection of variables related to work and education from the 2014 General Social Survey\n* `gss14_simple` - A simple version of `gss14` without factors created and without missing data explicitly declared\n* `kerrich` - A data set containing 2000 trials of coin flips by [John Edmund Kerrich](https://en.wikipedia.org/wiki/John_Edmund_Kerrich)\n\n### Usage\nOnce 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:\n\n```r\nlibrary(\"testDriveR\")\nautoData \u003c- auto17\nstr(autoData)\n```\n\n### Data Creation\nIf you are interested in the original data/code used to create the included data, you can find them at:\n\n* `auto17` is documented in [Chris's `autoData` repository](https://github.com/chris-prener/autoData)\n* `childMortality` is documented in [Chris's `childMortality` repository](https://github.com/chris-prener/childMortality)\n* `gss14` and `gss14_simple` are documented in [Chris's `gss14` repository](https://github.com/chris-prener/gss14)\n* `kerrich` is documented in the [`extdata` directory](/inst/extdata/kerrich.R)\n\n## R Markdown Template\nThe 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 \u003e New File \u003e R Markdown...` and then selecting `SLU Sociology Assignments` under `Template`:\n\n![](man/figures/template.png)\n\nThe 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.\n\n## Contributor Code of Conduct\nPlease 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-prener%2Ftestdriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris-prener%2Ftestdriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-prener%2Ftestdriver/lists"}