clean_make: Clean vehicle make

View source: R/clean.R

clean_makeR Documentation

Clean vehicle make

Description

This function cleans the make of the vehicle.

Usage

clean_make(make, extract_make = TRUE)

Arguments

make

A character vector of vehicle makes. Can be raw generic make/model strings if extract_make is TRUE.

extract_make

Logical, whether to extract the make from the input string using extract_make_stats19 first. Default is TRUE.

Examples

clean_make(c("VW", "Mercedez"))
clean_make(c("FORD FIESTA", "LAND ROVER DISCOVERY"), extract_make = TRUE)

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