vin_thief: vin_thief: return a list of Year, Make, Model based on VIN

Description Usage Arguments Examples

Description

String returned is useful for feeding into other api's that look up on model and year (FuelEconomy.gov) or rOpenGov/mpg

Usage

1
vin_thief(vin, sec = 5, vector.transform = T, sep = "-")

Arguments

vin

VIN number in quotes

sec

denotes Sys.sleep() between requests if there are multiple, Defaults to 5 seconds

vector.transform

Denotes a transformation to a character vector for unique id usage. Defaults to FALSE.

sep

symbol denoting separator, can be used to return as a character vector separated by symbols e.g ("model-make-year"). Defaults to "-".

Examples

1
vin_thief("1G2HX54K724118697", vector.transform = TRUE, sep = ",")

datafaust/caRshop documentation built on May 14, 2019, 7:44 p.m.