Skip to content
Snippets Groups Projects
Commit e6b934e4 authored by Wegner's avatar Wegner
Browse files

changed for 2nd exam

parent 95eb280a
No related branches found
Tags v0.3.2
No related merge requests found
#' 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,8 +12,6 @@ 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.
- *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
- *income_data* includes information about people's age and their income - it models a fictional population
......@@ -25,12 +23,16 @@ Either:\
#library(remotes)\
remotes::install_gitlab("BAQ6370/sozoekdsexam", host="gitlab.rrz.uni-hamburg.de", force = TRUE)
library(sozoekdsexam)
or:
#install.packages("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)
library(sozoekdsexam)
## Support
If you find a bug please contact: [lisamarie.wegner\@uni-hamburg.de](lisamarie.wegner@uni-hamburg.de)
......
File deleted
## 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 deleted
% 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.
Finish editing this message first!
Please register or to comment