find_driver | R Documentation |
Find Driver Matches
find_driver(search_term, data = NULL, max_results = 5, interactive = TRUE)
search_term |
Character string to search for |
data |
Tibble containing NASCAR race data |
max_results |
Maximum number of matches to return |
interactive |
Logical. Is the session interactive? |
Character vector of matching driver names
# Find exact match
find_driver("Christopher Bell")
# Find partial matches
find_driver("bell")
# Non-interactive mode for scripts
find_driver("kyle", interactive = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.