Giter VIP home page Giter VIP logo

Comments (8)

bodiam avatar bodiam commented on May 26, 2024 1

Hi @jaapcoomans , great to see you here. I just had a look at vehicle.yml, and while the list of manufacturers is quite large, the makes and models are not.

I think the best way forward would be to add more makes and models to the vehicle.yml locale, I don't see an issue with that. PR on this certainly welcome!

(I've just added a few Tesla models to the data)

from datafaker.

bodiam avatar bodiam commented on May 26, 2024 1

@snuyanzin in my understanding this is more about updating an existing provider, the Vehicle provider (which is lacking a bit of content) than adding a new provider.

from datafaker.

bodiam avatar bodiam commented on May 26, 2024 1

Hi Jaap, I think we should be good for now? I've also added things like Mazda, Nio, Xpeng, etc, hope that gives a more rich set of data

(#386)

from datafaker.

snuyanzin avatar snuyanzin commented on May 26, 2024

By the way a few words about how these tasks could be solved

  1. A new provider or update an existing one in upstream.
  2. datafaker supports custom providers. That means that people don't have to wait for a new release to start use their providers and use it from same datafaker like any other provider. For more info about custom providers please have a look here https://www.datafaker.net/documentation/custom-providers/

And yes contributions are more than welcome

from datafaker.

jaapcoomans avatar jaapcoomans commented on May 26, 2024

@bodiam Thanks for thinking along! My question was indeed about extending the Vehicle provider.
I think you're right, adding more makes and models to the vehicle.yaml is the best approach. Expect a PR soon 🙂

Also, TIL that the things I used to call Fakers are actually called Providers. I'll update my vocabulary 👍

from datafaker.

bodiam avatar bodiam commented on May 26, 2024

@jaapcoomans Well, you don't have to update your vocabulary, there's not really a clear agreement on them I think. I call Datafaker a faker, and something like a Vehicle thing a provider of data, or, provider in short. But if you want to call it a faker because it generates fake vehicles, I can understand that, I just find it slightly ambiguous when talking about a Faker if we mean the Faker class, or a Data faker, so, Provider it is.

from datafaker.

bodiam avatar bodiam commented on May 26, 2024

@jaapcoomans sorry to bother, but any updates on this?

from datafaker.

jaapcoomans avatar jaapcoomans commented on May 26, 2024

@bodiam I was afk for a while for various reasons.
But now I have some time at my hand again. PR incoming...

from datafaker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.