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

Generate new ingests from templates #102

Open
kevinschaper opened this issue Dec 6, 2022 · 0 comments
Open

Generate new ingests from templates #102

kevinschaper opened this issue Dec 6, 2022 · 0 comments
Assignees

Comments

@kevinschaper
Copy link
Member

I always find myself following a "copy & edit" pattern when making new Koza ingests, but we really should have a command line based ingest generator. This would replace the woefully out of date templates in monarch-ingest, and as a bonus it would be available to any project that uses Koza.

It should be something like koza create-ingest

It should have an interactive cli (like gh pr create) and should probably be optimized for making simple (one csv/tsv file) ingests quickly. For more complex ingests, it should be easy to bail out early to just get the empty files ready to add.

It would be very cool to detect the separator and column names (again, for the easiest case).

Next next next level would be if we could interactively question our way to which rows become which part of an entity, or populate the node / edge properties, but that also feels like where the diminishing returns kick in between the complexity to implement vs the convenience, so let's not go there.

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

No branches or pull requests

1 participant