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

Subfield columns #8

Open
edsu opened this issue Jan 11, 2024 · 0 comments
Open

Subfield columns #8

edsu opened this issue Jan 11, 2024 · 0 comments

Comments

@edsu
Copy link
Collaborator

edsu commented Jan 11, 2024

By default marctable outputs a table with 215 columns, one for each MARC field in the Avram schema. So for example the 245 subfield gets serialized to the F245 column. You can override this by using the --rule option to specify specific field and field/subfield combinations if you want.

But I wonder if for some use cases you would actually want to have all Field/Subfield combinations? So like F245A, F245B, F245C, etc. It would make the table quite wide (not sure how wide yet). But perhaps the size wouldn't be greatly impacted. Maybe if not the default it could be an option like:

$ marctable parquet --subfield-columns data.marc data.parquet
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