powered by
This function cleans the model of the vehicle. It extracts the make using extract_make_stats19 and removes it from the string, returning the remaining text as the model in title case.
extract_make_stats19
clean_model(model)
A character vector of generic make/model strings
clean_model(c("FORD FIESTA", "BMW 3 SERIES"))
Run the code above in your browser using DataLab