library(tidyverse)
monty_hall <- read_csv("lets_make_a_deal.csv")
glimpse(monty_hall)
Rows: 100
Columns: 5
$ contestant <chr> "Charles", "Patricia", "Karen", "Jessica", "…
$ prize_door <dbl> 3, 1, 3, 3, 1, 1, 3, 2, 3, 3, 3, 3, 1, 3, 2,…
$ contestant_choice <dbl> 3, 3, 3, 1, 3, 3, 1, 3, 1, 2, 3, 2, 1, 3, 1,…
$ monty_opens <dbl> 2, 2, 1, 2, 2, 2, 2, 1, 2, 1, 2, 1, 2, 2, 3,…
$ decision <chr> "stay", "stay", "stay", "stay", "stay", "sta…
glimpse() turns the table on its side and shows every column with its type and first values; it is the first thing to run on new data.