check_vin: Verify VIN Validity

Description Usage Arguments Value Examples

View source: R/check_vin.R

Description

Examines provided VINs for valid length, characters, and check digit.

Usage

1
check_vin(vin, guess = FALSE)

Arguments

vin

A character vector of VINs to check. Wildcards (e.g. *) are NOT allowed.

guess

Logical. Should values for illegal characters be guessed?

Value

A logical vector of same length as the input vector.

Examples

1
2
vins <- c("WDBEA30D3HA391172", "3VWLL7AJ9BM053541")
check_vin(vins)

vindecodr documentation built on Nov. 25, 2020, 5:07 p.m.