clean_model: Clean vehicle model

View source: R/clean.R

clean_modelR Documentation

Clean vehicle model

Description

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.

Usage

clean_model(model)

Arguments

model

A character vector of generic make/model strings

Examples

clean_model(c("FORD FIESTA", "BMW 3 SERIES"))

stats19 documentation built on March 18, 2026, 5:08 p.m.