Description Usage Arguments Value Examples
View source: R/valid_vin_format.R
Checks that VINs are 17 characters long and will optionally check that disallowed characters (I, O, Q) are not present.
1 | valid_vin_format(vin, check_chars = FALSE)
|
vin |
A character. Should be a properly formatted Vehicle Identification Number. Wildcards (e.g., '*') are acceptable. |
check_chars |
Logical. Should an error be thrown if the VIN contains illegal characters? |
Logical.
1 2 3 4 | # Random VIN
valid_vin_format("3VWLL7AJ9BM053541")
# With wild card
valid_vin_format("3VWLL7AJ9BM*53541")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.