Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --export-from to allow for generating incremental data #118

Open
wants to merge 1 commit into
base: serramatutu/ruff
Choose a base branch
from

Conversation

serramatutu
Copy link
Contributor

This commit adds an --export-from flag which allows generating incremental data. This is useful for generating data every day instead of having to export the CSV of all years at once.

This commit adds an `--export-from` flag which allows generating
incremental data. This is useful for generating data every day instead
of having to export the CSV of all years at once.
@sharisiri
Copy link

sharisiri commented May 15, 2024

Edit: Just saw the cache-state branch. Excited to play with those new features when they're ready.

Hi @serramatutu, thanks for a great feature.

I am playing around with the new flag but unable to generate daily data.

For instance jafgen --export-from '2018-09-01' and jafgen 2 --export-from '2018-09-01' work fine but they generate at least a years worth of data.

jafgen --export-from '2024-05-15' results in UserWarning: start_from is after end of simulation. All data will be empty except for slowly changing dimensions.

Can you please elaborate on how to generate orders for one day preferably from the current date?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants