Comments (8)
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.
@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.
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.
By the way a few words about how these tasks could be solved
- A new provider or update an existing one in upstream.
- 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.
@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.
@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.
@jaapcoomans sorry to bother, but any updates on this?
from datafaker.
@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)
- Couldn't generate date at leap year HOT 3
- birthday throwing exception if run at 2/29/2024 HOT 7
- Faker.date().birthday() returns in invalid Date on Leap Day HOT 2
- Possible JSON generation error HOT 15
- Duplicate faker groups (Money and Currency) HOT 9
- Release 2.2.0 HOT 10
- Add Java 22 to the build matrix. HOT 6
- Adding a Sensor data provider for testing IoT applications HOT 5
- Support JPMS HOT 7
- Extend medical providers to include more medicine-related values HOT 11
- We should support Ollama HOT 2
- Fix address for 'en-NZ' locale
- Using metacharacters on a character set with regexify does not produce the expected text
- v2.2.0: Exceptions when calling certain Faker methods HOT 8
- NullPointerException when using Faker#locality HOT 3
- Unit test failed
- Provide Stream output for transformers
- java.lang.RuntimeException: Unable to resolve #{male_first_name} directive for FakerContext HOT 12
- Allow an easy way to create random PII/PHI data
- Breaking DateAndTime HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datafaker.