df <- data.frame(Place = c(1, 1, 1),
Name = c("Sally Swimfast", "Bonnie Bubbles", "Kylie Kicker"),
Team = c("KVAC", "UBAM", "MERC"),
Event = rep("Women 200 Freestyle", 3),
Prelims = c("2:00.00", "1:59.99", "2:01.50"),
Finals = c("1:58.00", "1:59.50", "2:00.50"),
Meet = c("Summer 2021", "Fall 2020", "Champs 2020"))
df %>%
swim_place()
df %>%
swim_place(time_col = Prelims)
df %>%
swim_place(time_col = "Prelims")
Run the code above in your browser using DataLab