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

rework for 2nd exam

parent 7acbd34f
No related branches found
No related tags found
No related merge requests found
Package: sozoekdsexam
Title: Datapackage for the exam to the Course "Datascience for Socioeconomists" at University of Hamburg, Department of Socioeconomics
Version: 0.0.0.1
Version: 0.0.0.2
Authors@R:
person("Lisa Marie", "Wegner", , "lisamarie.wegner@uni-hamburg.de", role = c("aut", "cre"), comment=c(ORCID=0009-0004-2234-3052))
Description: Package includes data sets that are known from our course. There are additional data sets that will be used within the exam.
What's new? Adult_Income is a new dataset that uses census data from the usa and includes information about socio-demographics and income of adults.
The examscores dataset that is already known was cleaned.
The examscores dataset has been cleaned and saved as examscores2.
All other data sets are the same as in the prior package sozoekds.
License: CC BY 4.0
Encoding: UTF-8
......
#' 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, 19243 observations, 15 variables
#' \describe{
#' \item{\code{Gender}}{Gender of a student (factor)}
#' \item{\code{EthnicGroup}}{Origin of a student (factor)}
#' \item{\code{ParentEduc}}{Parents education (factor)}
#' \item{\code{LunchType}}{Type of lunch (factor)}
#' \item{\code{TestPrep}}{Preparation for a test (factor)}
#' \item{\code{ParentMaritalStatus}}{Parental marital status (factor)}
#' \item{\code{PracticeSport}}{Practice sports (factor)}
#' \item{\code{IsFirstChild}}{Firstborn (factor)}
#' \item{\code{NrSiblings}}{Number of siblings (integer)}
#' \item{\code{TransportMeans}}{Means of transport to school (factor)}
#' \item{\code{WklyStudyHours}}{Number of study hours per week (factor)}
#' \item{\code{MathScore}}{Score in math (integer)}
#' \item{\code{ReadingScore}}{Score in reading (integer)}
#' \item{\code{WritingScore}}{Score in writing (integer)}
#'}
"examscores2"
......@@ -14,6 +14,8 @@ Package for the exam of the course "Data Science for Socioeconomists" at the dep
- *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
## Installation
......
File added
## code to prepare `examscores2` dataset goes here
library(devtools)
library(roxygen2)
library(dplyr)
examscores2 <- examscores
usethis::use_data(examscores2, overwrite = TRUE)
File added
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/examscores2.R
\docType{data}
\name{examscores2}
\alias{examscores2}
\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, 19243 observations, 15 variables
\describe{
\item{\code{Gender}}{Gender of a student (factor)}
\item{\code{EthnicGroup}}{Origin of a student (factor)}
\item{\code{ParentEduc}}{Parents education (factor)}
\item{\code{LunchType}}{Type of lunch (factor)}
\item{\code{TestPrep}}{Preparation for a test (factor)}
\item{\code{ParentMaritalStatus}}{Parental marital status (factor)}
\item{\code{PracticeSport}}{Practice sports (factor)}
\item{\code{IsFirstChild}}{Firstborn (factor)}
\item{\code{NrSiblings}}{Number of siblings (integer)}
\item{\code{TransportMeans}}{Means of transport to school (factor)}
\item{\code{WklyStudyHours}}{Number of study hours per week (factor)}
\item{\code{MathScore}}{Score in math (integer)}
\item{\code{ReadingScore}}{Score in reading (integer)}
\item{\code{WritingScore}}{Score in writing (integer)}
}
}
\usage{
examscores2
}
\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