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

commit on 09-02

parent c2788c13
No related branches found
No related tags found
No related merge requests found
#' Fictional data about people's age, their income and gender.
#'
#'
#' @format A tibble with 5000 rows and 5 variables:
#' \describe{
#' \item{\code{X}}{int ID number}
#' \item{\code{a_2023}}{int age in 2023}
#' \item{\code{gender}}{chr gender identity: male, female, nonbinary}
#' \item{\code{income03}}{num income in march 2023 }
#' \item{\code{income11}}{num income in november 2023}
#' }
"income_data"
......@@ -14,18 +14,20 @@ 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
- *income_data* includes information about people's age and their income - it models a fictional population
## Installation
Either:\
#install.packages("remotes")\
#library(remotes)\
remotes::install_gitlab("BAQ6370/sozoekdsexam", host="gitlab.rrz.uni-hamburg.de")
remotes::install_gitlab("BAQ6370/sozoekdsexam", host="gitlab.rrz.uni-hamburg.de", force = TRUE)
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)")
devtools::install_git("[https://gitlab.rrz.uni-hamburg.de/baq6370/sozoekdsexam.git](https://gitlab.rrz.uni-hamburg.de/bay1977/sozoeko1.git)", force = TRUE)
## Support
......
This diff is collapsed.
## code to prepare `income_data` dataset goes here
library(devtools)
library(roxygen2)
library(dplyr)
income_data <- read.csv("Z://wiso/SozOek_EmpWifo/Gemeinsam/L_Projekte/Data_Science_Kurs_WiSe_2023_24/Package/sozoekdsexam/data-raw/income_data.csv")
usethis::use_data(income_data, overwrite = TRUE)
File added
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/income_data.R
\docType{data}
\name{income_data}
\alias{income_data}
\title{Fictional data about people's age, their income and gender.}
\format{
A tibble with 5000 rows and 5 variables:
\describe{
\item{\code{X}}{int ID number}
\item{\code{a_2023}}{int age in 2023}
\item{\code{gender}}{chr gender identity: male, female, nonbinary}
\item{\code{income03}}{num income in march 2023 }
\item{\code{income11}}{num income in november 2023}
}
}
\usage{
income_data
}
\description{
Fictional data about people's age, their income and gender.
}
\keyword{datasets}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment