faker icon indicating copy to clipboard operation
faker copied to clipboard

feat: Adds Vehicle trims

Open joshillian opened this issue 5 years ago • 0 comments

Purpose To add realistic vehicle trims for existing vehicle makes and models. It should be noted that trims are actually determined by make, model, and year, but modeling that relationship in Faker seemed a bit much. For these purposes, a vehicle's possible trims are determined by the trims available for a make and model (most recent year) according to the publicly available https://www.cars.com/research/

Added

  • Faker.Vehicle.En trims for existing makes and models
  • Faker.Vehicle.trim/2: given make, model params, generates random trim
  • Faker.Vehicle.trim/0: generates random trim
  • Faker.Vehicle.make_model_and_trim/0: generates random make, model, and trim
  • CHANGELOG.md
  • 4x doctests for each function added

joshillian avatar Dec 01 '20 03:12 joshillian