id | submission_type | answer
--- | --- | ---
tutorial-id | none | data-import
name | question | Dalton MacAfee
email | question | dalton.macafee281@gmail.com
reading-data-from-a-file-1 | question | Documentation for package ‘readr’ version 2.1.5
reading-data-from-a-file-2 | exercise | read_csv("data/students.csv")
reading-data-from-a-file-3 | exercise | students <- read_csv("data/students.csv")
reading-data-from-a-file-4 | exercise | print(students)
reading-data-from-a-file-5 | exercise | read_csv("data/students.csv", c("N/A", ""))
reading-data-from-a-file-6 | exercise | students |> rename(student_id = "Student ID")
reading-data-from-a-file-7 | exercise | library(janitor)
reading-data-from-a-file-8 | exercise | students |> clean_names()
reading-data-from-a-file-9 | exercise | students |> clean_names() |> mutate(meal_plan = factor(meal_plan))
reading-data-from-a-file-10 | exercise | students |> clean_names() |> mutate(meal_plan = factor(meal_plan), age = if_else(age == "five", "5", age))
reading-data-from-a-file-11 | exercise | students |> clean_names() |> mutate( meal_plan = factor(meal_plan), age = if_else(age == "five", "5", age), age = parse_number(age) )
reading-data-from-a-file-12 | exercise | read_csv(file = "data/test_1.csv")
reading-data-from-a-file-13 | exercise | read_csv(file = "data/test_1.csv", show_col_types = FALSE)
reading-data-from-a-file-14 | exercise | read_csv(file = "data/test_2.csv", skip = 2)
reading-data-from-a-file-15 | exercise | read_csv(file = "data/test_3.csv", col_names = FALSE)
reading-data-from-a-file-16 | exercise | read_csv(file = "data/test_3.csv", col_names = c("a", "b", "c"))
reading-data-from-a-file-17 | exercise | read_csv("data/test_3.csv", col_names = c("a", "b", "c"), col_types = cols(a = col_double(), b = col_double(), c = col_double()))
reading-data-from-a-file-18 | exercise | read_csv(file = "data/test_5.csv", na = ".")
reading-data-from-a-file-19 | exercise | read_csv(file = "data/test_6.csv", comment = "#")
reading-data-from-a-file-20 | exercise | read_csv( file = "data/test_7.csv", col_types = cols( grade = col_integer(), student = col_character() ))
reading-data-from-a-file-22 | exercise | read_csv(file = "data/test_bad_names.csv") |> clean_names()
reading-data-from-a-file-23 | exercise | read_csv(file = "data/test_bad_names.csv", name_repair = janitor::make_clean_name)
reading-data-from-a-file-25 | exercise | delim_2.txt ## date|population|town ## 2020-01-12|150|Cambridge, MA ## 2020-02-28|92|Newton, MA
controlling-column-types-1 | exercise | read_csv(" a, b, c 1, 2, 3")
controlling-column-types-4 | exercise | read_csv(simple_csv) + col_types = list(x = col_double())
controlling-column-types-5 | exercise | read_csv(simple_csv) + col_types = list(x = col_double())
controlling-column-types-6 | exercise | simple_csv(na = ".")
controlling-column-types-7 | exercise | another_csv <- " x,y,z 1,2,3"
controlling-column-types-9 | exercise | read_csv("data/ex_2.csv")
writing-to-a-file-2 | exercise | students2
writing-to-a-file-3 | exercise | write_csv(x = ..., ... = "data/students2.csv")
writing-to-a-file-4 | exercise | .("data/students2.csv")
writing-to-a-file-5 | exercise | iris_p <- iris |> ggplot(aes(x = Sepal.Length, y = Sepal.Width)) + geom_jitter() + labs(title = "Sepal Dimensions of Various Species of Iris", x = "Sepal Length", y = "Sepal Width")
writing-to-a-file-6 | exercise | list.files("data")
writing-to-a-file-7 | exercise | read_rds(file = "data/test_1.rds")
writing-to-a-file-8 | exercise | write_rds(mtcars, "data/test_2.rds")
writing-to-a-file-9 | exercise | list.files("data")
writing-to-a-file-10 | exercise | read_rds(file = "data/test_2.rds")
writing-to-a-file-11 | question | apache arrow
data-entry-1 | exercise | tibble( x = c(1,2,5), y = c("h", "m", "g"), z = c(0.08, 0.83, 0.60) )
data-entry-2 | exercise | tibble( x = c(1,2,5), y = c("h", "m", "g"), z = c(0.08, 0.83, 0.60) )
minutes | question | 90