if (interactive()) {
# Get career summary for Toyota across all series
get_manufacturer_info("Toyota")
# Get Cup series statistics only
get_manufacturer_info("Ford", series = "cup")
# Get season-by-season breakdown for Truck series
get_manufacturer_info("Chevrolet", series = "truck", type = "season")
}
Run the code above in your browser using DataLab