The following statements can be used to read the datasets for the exam.
s_data_url_root <- "https://charlotte-ngs.github.io/asmss2023/data"
s_data_url_p1 <- file.path(s_data_url_root, "asm_exam_p01.csv")
tbl_p1 <- readr::read_delim(file = s_data_url_p1, delim = ",")
## Rows: 12 Columns: 3
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## dbl (3): Cow, Acetone, Methane
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
s_data_url_root <- "https://charlotte-ngs.github.io/asmss2023/data"
s_data_url_p2 <- file.path(s_data_url_root, "asm_exam_p02.csv")
tbl_p2 <- readr::read_delim(file = s_data_url_p2, delim = ",")
## Rows: 12 Columns: 4
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (1): Breed
## dbl (3): Cow, Acetone, Methane
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
s_data_url_root <- "https://charlotte-ngs.github.io/asmss2023/data"
s_data_url_p3 <- file.path(s_data_url_root, "asm_exam_p03.csv")
tbl_p3 <- readr::read_delim(file = s_data_url_p3, delim = ",")
## Rows: 6 Columns: 5
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (1): SEX
## dbl (4): ID, SIRE, DAM, P
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
s_data_url_root <- "https://charlotte-ngs.github.io/asmss2023/data"
s_data_url_p4 <- file.path(s_data_url_root, "asm_exam_p04.csv")
tbl_p4 <- readr::read_delim(file = s_data_url_p4, delim = ",")
## Rows: 6 Columns: 8
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (1): SEX
## dbl (7): ID, P, SNP1, SNP2, SNP3, SNP4, SNP5
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
s_data_url_root <- "https://charlotte-ngs.github.io/asmss2023/data"
s_data_url_p5 <- file.path(s_data_url_root, "asm_exam_p05.csv")
tbl_p5 <- readr::read_delim(file = s_data_url_p5, delim = ",")
## Rows: 12 Columns: 3
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (1): Breed
## dbl (2): Cow, Methane
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.