decode_vin {vindecodr}R Documentation

Use the NHTSA API to Decode VINs

Description

Use the NHTSA API to Decode VINs

Usage

decode_vin(vin, ...)

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

## Not run: 
# Decode a single VIN:
decode_vin("JHLRD68404C018253")

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

## End(Not run)

[Package vindecodr version 0.1.1 Index]