powered by
Find Driver Matches
find_driver(search_term, data = NULL, max_results = 5, interactive = TRUE)
Character vector of matching driver names
Character string to search for
Tibble containing NASCAR race data
Maximum number of matches to return
Logical. Is the session interactive?
# Find exact match find_driver("Christopher Bell") # Find partial matches find_driver("bell") # Non-interactive mode for scripts find_driver("kyle", interactive = FALSE)
Run the code above in your browser using DataLab