decode_vin: Use the NHTSA API to Decode VINs

Description Usage Arguments Value Examples

View source: R/decode_vin.R

Description

Use the NHTSA API to Decode VINs

Usage

1

Arguments

vin

either a single vehicle identification number in a character string, or multiple vehicle identification numbers in a character vector.

...

additional arguments passed to the url builder functions.

Value

a data frame with the VIN, Make, Model, Model Year, Fuel Type, and Gross Vehicle Weight Rating (GVWR) for the specified VINs.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# Decode a single VIN:
decode_vin("JHLRD68404C018253")

# Decode multiple VINs:
decode_vin(c("JHLRD68404C018253", "JH4DA9450MS001229"))

## End(Not run)

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