Commit Graph

1 Commits

Author SHA1 Message Date
Tobias Quadfasel
3a4bc53dcc feat(add-data): Add script to generate costumers from base data
Add `data_preparation/generate_customers.py`, a script that takes the
`base_data.json` file generated by `get_base_data.py` and randomly
samples a given number of customers.

To simplify things, each customer is assigned exactly one gas and one
electricity meter and each of them is read between 1 and 10 times.

The full data including meters, meter readings and dates as well as
customers and addresses is stored in a final JSON file named
`customers.json`.
2024-08-31 14:23:50 +02:00