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

Implement DataSchema-5.1 #42

Merged
merged 29 commits into from
Jun 22, 2024
Merged

Implement DataSchema-5.1 #42

merged 29 commits into from
Jun 22, 2024

Conversation

PeterKraus
Copy link
Collaborator

This PR will implement DataSchema-5.1, which significantly simplifies the DataSchema as we move from Parsers towards Extractors in yadg.

  • Each former parser now has an associated extractor.FileType, that is basic.csv for basiccsv, FHI.csv for meascsv and example (or tomato.json) for dummy.
  • The parameters of an Extractor are now within that model; this really only applies to the CSV-based Extractors
  • The Union of all supported FileTypes is now automatically generated within the module. This should reduce the number of places where a new Extractor needs to be defined, somewhat.

@PeterKraus PeterKraus merged commit 3dbdf61 into master Jun 22, 2024
17 checks passed
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.

1 participant