This repository contains datasets as well as R and Python packages for teaching statistics, data science and the like.
-
data/
: Contains the CSV data. -
R/
: Contains the R packageedudat
. -
python/
: Contains the Python packageedudat
.
-
Installation of the R Package:
-
Install the
devtools
package if you haven't already:install.packages("devtools")
-
Install the
edudat
package directly from GitHub:devtools::install_github("tensorchiefs/data/R/edudat")
-
-
Using the R Package:
- Load the
edudat
package and datasets:library(edudat) df1 <- load_data("challenger.csv")
- Load the
-
Installation of the Python Package:
- Install the
edudat
package from PyPI:pip install edudat
- Install the
edudat
package directly from GitHub (currently not working):pip install git+https://github.com/tensorchiefs/data.git#subdirectory=python/edudat
- Install the
-
Using the Python Package:
- Load the CSV data in Python:
from edudat import load_data df1 = load_data("challenger.csv")
- Load the CSV data in Python:
If you would like to contribute to this repository, have a look at the contribution howto.