Skip to content
Snippets Groups Projects
Commit c64ed0a1 authored by Wegner, Lisa Marie's avatar Wegner, Lisa Marie
Browse files

Merge branch 'revert-e6b934e4' into 'main'

Revert "changed for 2nd exam"

See merge request !1
parents e6b934e4 7929b623
No related branches found
No related tags found
1 merge request!1Revert "changed for 2nd exam"
#' This data set includes scores from three tests of students at a (fictional) public school and a variety of personal and socio-economic factors that may have interaction effects upon them.
#'
#'
#' @format A dataframe, 29069 observations, 15 variables
#' \describe{
#' \item{\code{Gender}}{Gender of a student (string)}
#' \item{\code{EthnicGroup}}{Origin of a student (string)}
#' \item{\code{ParentEduc}}{Parents education (string)}
#' \item{\code{LunchType}}{Type of lunch (string)}
#' \item{\code{TestPrep}}{Preparation for a test (string)}
#' \item{\code{ParentMaritalStatus}}{Parental marital status (string)}
#' \item{\code{PracticeSport}}{Practice sports (string)}
#' \item{\code{IsFirstChild}}{Firstborn (boolean)}
#' \item{\code{NrSiblings}}{Number of siblings (integer)}
#' \item{\code{TransportMeans}}{Means of transport to school (string)}
#' \item{\code{WklyStudyHours}}{Number of study hours per week (integer)}
#' \item{\code{MathScore}}{Score in math (integer)}
#' \item{\code{ReadingScore}}{Score in reading (integer)}
#' \item{\code{WritingScore}}{Score in writing (integer)}
#'}
"examscores"
...@@ -12,6 +12,8 @@ Package for the exam of the course "Data Science for Socioeconomists" at the dep ...@@ -12,6 +12,8 @@ Package for the exam of the course "Data Science for Socioeconomists" at the dep
- *census_2015* with aggregated census data of american households regarding their income and sociodemographic characteristics. - *census_2015* with aggregated census data of american households regarding their income and sociodemographic characteristics.
- *examscores* includes information about educational data and models a fictional school and its students
- *examscores2* is an updated version of *examscores*. It includes information about educational data and models a fictional school and its students - *examscores2* is an updated version of *examscores*. It includes information about educational data and models a fictional school and its students
- *income_data* includes information about people's age and their income - it models a fictional population - *income_data* includes information about people's age and their income - it models a fictional population
...@@ -23,16 +25,12 @@ Either:\ ...@@ -23,16 +25,12 @@ Either:\
#library(remotes)\ #library(remotes)\
remotes::install_gitlab("BAQ6370/sozoekdsexam", host="gitlab.rrz.uni-hamburg.de", force = TRUE) remotes::install_gitlab("BAQ6370/sozoekdsexam", host="gitlab.rrz.uni-hamburg.de", force = TRUE)
library(sozoekdsexam)
or: or:
#install.packages("devtools")\ #install.packages("devtools")\
#library(devtools)\ #library(devtools)\
devtools::install_git("[https://gitlab.rrz.uni-hamburg.de/baq6370/sozoekdsexam.git](https://gitlab.rrz.uni-hamburg.de/bay1977/sozoeko1.git)", force = TRUE) devtools::install_git("[https://gitlab.rrz.uni-hamburg.de/baq6370/sozoekdsexam.git](https://gitlab.rrz.uni-hamburg.de/bay1977/sozoeko1.git)", force = TRUE)
library(sozoekdsexam)
## Support ## Support
If you find a bug please contact: [lisamarie.wegner\@uni-hamburg.de](lisamarie.wegner@uni-hamburg.de) If you find a bug please contact: [lisamarie.wegner\@uni-hamburg.de](lisamarie.wegner@uni-hamburg.de)
......
File added
## code to prepare `examscores` dataset goes here
library(devtools)
library(roxygen2)
library(dplyr)
examscores_neu<- newdata %>% select(-high_mathscore)
examscores <- examscores_neu
usethis::use_data(examscores, overwrite = TRUE)
File added
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/examscores.R
\docType{data}
\name{examscores}
\alias{examscores}
\title{This data set includes scores from three tests of students at a (fictional) public school and a variety of personal and socio-economic factors that may have interaction effects upon them.}
\format{
A dataframe, 29069 observations, 15 variables
\describe{
\item{\code{Gender}}{Gender of a student (string)}
\item{\code{EthnicGroup}}{Origin of a student (string)}
\item{\code{ParentEduc}}{Parents education (string)}
\item{\code{LunchType}}{Type of lunch (string)}
\item{\code{TestPrep}}{Preparation for a test (string)}
\item{\code{ParentMaritalStatus}}{Parental marital status (string)}
\item{\code{PracticeSport}}{Practice sports (string)}
\item{\code{IsFirstChild}}{Firstborn (boolean)}
\item{\code{NrSiblings}}{Number of siblings (integer)}
\item{\code{TransportMeans}}{Means of transport to school (string)}
\item{\code{WklyStudyHours}}{Number of study hours per week (integer)}
\item{\code{MathScore}}{Score in math (integer)}
\item{\code{ReadingScore}}{Score in reading (integer)}
\item{\code{WritingScore}}{Score in writing (integer)}
}
}
\usage{
examscores
}
\description{
This data set includes scores from three tests of students at a (fictional) public school and a variety of personal and socio-economic factors that may have interaction effects upon them.
}
\keyword{datasets}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment