Learn R Programming

nascaR.data (version 2.2.2)

find_manufacturer: Find Manufacturer Matches

Description

Find Manufacturer Matches

Usage

find_manufacturer(
  search_term,
  data = NULL,
  max_results = 5,
  interactive = TRUE
)

Value

Character vector of matching manufacturer names

Arguments

search_term

Character string to search for

data

Tibble containing NASCAR race data or series specification

max_results

Maximum number of matches to return

interactive

Logical. Is the session interactive?

Examples

Run this code
# Find exact match
find_manufacturer("Toyota")

# Find with common alias
find_manufacturer("chevy")

# Non-interactive mode for scripts
find_manufacturer("ford", interactive = FALSE)

Run the code above in your browser using DataLab