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

Filter on years when converting model files #23

Open
willu47 opened this issue Nov 16, 2019 · 0 comments
Open

Filter on years when converting model files #23

willu47 opened this issue Nov 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@willu47
Copy link
Member

willu47 commented Nov 16, 2019

It would be useful to reduce the size of the model file e.g. generate for just one or three years, by adding an argument e.g. --min_year, --max_year

otoole convert datapackage datafile simplicity/datapackage.json simplicity.txt --min_year 2015 --max_year 2016

Implementation

These arguments could be passed to the functions which create the Pandas Datatables, filtering on the arguments. First, the values should be checked against the YEAR set.

@willu47 willu47 added the enhancement New feature or request label Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant