table1_path <- "https://raw.githubusercontent.com/sebastiansauer/Lehre/main/data/tidy-table1.csv"
table1 <- read_csv(table1_path)9 tidydata1
datawrangling
tidy
schoice
Schlüsselwörter
Aufgaben, Statistik, Prognose, Modellierung, R, Datenanalyse, Regression
9.1 Aufgabe
Laden Sie die folgende Tabellen mit folgendem Befehl aus dem Paket tidyverse:
Insgesamt sollten Sie als folgende Tabellen in Ihrem environment verfügbar haben:
- table1
- table2
- table3
- table4
- table5
Welche der Tabellen ist in der Normalform?
9.2 Answerlist
- table1
- table2
- table3
- table4
- table5
9.3 Lösung
Laden wir noch die übrigen Tabellen
table2_path <- "https://raw.githubusercontent.com/sebastiansauer/Lehre/main/data/tidy-table2.csv"
table2 <- read_csv(table2_path)
table3_path <- "https://raw.githubusercontent.com/sebastiansauer/Lehre/main/data/tidy-table3.csv"
table3 <- read_csv(table3_path)
table4_path <- "https://raw.githubusercontent.com/sebastiansauer/Lehre/main/data/tidy-table4.csv"
table4 <- read_csv(table4_path)
table5_path <- "https://raw.githubusercontent.com/sebastiansauer/Lehre/main/data/tidy-table5.csv"
table5 <- read_csv(table5_path)Betrachten wir alle fünf Tabellen:
table1
table2
table3
table4
table5Man sieht, dass nur Tabelle 1 “tidy” ist.
9.4 Answerlist
- Wahr
- Falsch
- Falsch
- Falsch
- Falsch
Categories:
- datawrangling
- tidy
- schoice