{"id":32209416,"url":"https://github.com/openintrostat/openintro","last_synced_at":"2026-02-21T18:05:06.997Z","repository":{"id":18346324,"uuid":"21526118","full_name":"OpenIntroStat/openintro","owner":"OpenIntroStat","description":"📦 R package for data and supplemental functions for OpenIntro resources","archived":false,"fork":false,"pushed_at":"2025-06-24T18:55:09.000Z","size":217262,"stargazers_count":248,"open_issues_count":5,"forks_count":181,"subscribers_count":35,"default_branch":"main","last_synced_at":"2026-01-21T22:41:06.223Z","etag":null,"topics":["data","openintro","rstats","rstats-package"],"latest_commit_sha":null,"homepage":"http://openintrostat.github.io/openintro/","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/OpenIntroStat.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-07-05T18:52:35.000Z","updated_at":"2026-01-17T20:39:52.000Z","dependencies_parsed_at":"2023-01-13T21:30:23.941Z","dependency_job_id":"1b28ef99-d19c-4ce5-a104-a9139e8d8259","html_url":"https://github.com/OpenIntroStat/openintro","commit_stats":{"total_commits":418,"total_committers":15,"mean_commits":"27.866666666666667","dds":0.5669856459330144,"last_synced_commit":"1dbc62ee28cf4ed4c6c3d30a5d8157aebb9d3e13"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/OpenIntroStat/openintro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIntroStat%2Fopenintro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIntroStat%2Fopenintro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIntroStat%2Fopenintro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIntroStat%2Fopenintro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenIntroStat","download_url":"https://codeload.github.com/OpenIntroStat/openintro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIntroStat%2Fopenintro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29689644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["data","openintro","rstats","rstats-package"],"created_at":"2025-10-22T06:04:29.043Z","updated_at":"2026-02-21T18:05:06.992Z","avatar_url":"https://github.com/OpenIntroStat.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"80%\"\n)\n```\n\n# openintro \u003cimg src=\"man/figures/logo.png\" align=\"right\" alt=\"Hex logo for package\" width=\"120\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/openintro)](https://cran.r-project.org/package=openintro)\n[![R-CMD-check](https://github.com/OpenIntroStat/openintro/workflows/R-CMD-check/badge.svg)](https://github.com/OpenIntroStat/openintro/actions)\n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)\n[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/openintro)](https://cran.r-project.org/package=openintro)\n\u003c!-- badges: end --\u003e\n\nSupplemental functions and data for OpenIntro resources, which includes  open-source textbooks and resources for introductory statistics at [openintro.org](https://www.openintro.org/). \nThe package contains datasets used in our open-source textbooks along with custom plotting functions for reproducing book figures. \nThe package also contains the datasets used in OpenIntro labs. \nNote that many functions and examples include color transparency; some plotting elements may not show up properly (or at all) when run in some versions of Windows operating system.\n\n## Installation\n\nYou can install the released version of openintro from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\ninstall.packages(\"openintro\")\n```\n\nYou can install the development version of openintro from GitHub with:\n\n``` r\n# install.packages(\"devtools\")\nlibrary(devtools)\ninstall_github(\"OpenIntroStat/openintro\")\n```\n\nThis package was produced as part of the OpenIntro project. \nFor the accompanying textbook, visit [openintro.org](https://openintro.org). A PDF of the textbook is free and paperbacks can  be purchased online (royalty-free).\n\n## Questions, bugs, feature requests\n\nYou can file an issue to get help, report a bug, or make a feature request.\n\nWhen filing an issue to get help or report a bug, please make a minimal **repr**oducible **ex**ample using the [reprex](https://reprex.tidyverse.org/) package. \nIf you haven't heard of or used reprex before, you're in for a treat! \nSeriously, reprex will make all of your R-question-asking endeavors easier (which is a pretty insane ROI for the five to ten minutes it'll take you to learn what it's all about). \nFor additional reprex pointers, check out the [Get help!](https://www.tidyverse.org/help/) section of the tidyverse site.\n\nBefore opening a new issue, be sure to [search issues and pull requests](https://github.com/openintrostat/openintro/issues) to make sure the bug hasn't been reported and/or already fixed in the development version. \nBy default, the search will be pre-populated with `is:issue is:open`. \nYou can [edit the qualifiers](https://help.github.com/articles/searching-issues-and-pull-requests/) (e.g. `is:pr`, `is:closed`) as needed. \nFor example, you'd simply remove `is:open` to search _all_ issues in the repo, open or closed.\n\n## Contributing\n\nProcess for adding new data to the package\n\nThe following steps use the **devtools** and **usethis** packages for various steps. \nWe recommend using this process when suggesting new datasets to be added to the package. \nIf the dataset is large (\u003e500MB) or you'd like to add a function, please open an issue first for discussion before making the pull request.\n\n1. Fork and clone the repo with `usethis::create_from_github(\"OpenIntroStat/openintro\")`\n   - Note: If you have write access to the repo, you can skip this step.\n1. Start a new pull request with `usethis::pr_init(\"BRANCH-NAME\")`, where `BRANCH-NAME` is an informative branch name.\n1. If adding a file that is not an .rda file to begin with (Excel, csv, etc.), create a folder in the `data-raw` folder with the name of the dataset (how you'd like it to show up in the package). Please use `snake_case` for naming, e.g. `name_of_dataset`.\n1. Place your dataset in its raw form in the folder.\n1. Also in the `data-raw` folder, create a new R script called `name_of_dataset-dataprep.R` and write the code needed to read in the file, make any modifications to the data that are needed (if any), and end with `usethis::use_data()` to save the data in the package as an .rda file with the ideal compression. See examples from other folders in `data-raw` for sample code. The contents of this folder do not end up in the package (the entire folder is ignored in the `.Rbuildignore`) so you don't need to worry about adding package dependencies etc.\n1. In the `R` folder, create an R script called `data-name_of_dataset` and add documentation using Roxygen style. See other documentation files for help with style. In the examples, use tidyverse syntax but do not use `library(tidyverse)` and only use the relevant packages, e.g. `library(dplyr)`, `library(ggplot2)`.\n1. Restart R and run `devtools::load_all()` to make sure the data loads and run your examples to confirm they all work.\n1. Run `devtools::document()`, restart R, and then `devtools::load_all()`. Then, check out `?name_of_dataset` to make sure the documentation looks as expected.\n1. Run `devtools::check()`. The only NOTE you should see as a result of the check should be about the package size. If any other ERRORs, NOTEs, or WARNINGs are generated, resolve them or open an issue for help.\n1. In the `pkgdown.yml` file, add the name of the dataset under `reference`, in the correct alphabetical order.\n1. Add a note in the `NEWS.md` with the new dataset you've added with a link to your GitHub username so we can acknowledge your contribution, e.g. \"added by [\\@mine-cetinkaya-rundel](https://github.com/mine-cetinkaya-rundel)\".\n\n\n## Code of Conduct\n  \nPlease note that the openintro project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). \nBy contributing to this project, you agree to abide by its terms.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenintrostat%2Fopenintro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenintrostat%2Fopenintro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenintrostat%2Fopenintro/lists"}