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

flatterer integration #226

Open
jpmckinney opened this issue Mar 5, 2024 · 0 comments
Open

flatterer integration #226

jpmckinney opened this issue Mar 5, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@jpmckinney
Copy link
Member

I have a local repository (spoonbill-ng) that I last touched in February 2022, to try to use flatterer purely for flattening, while keeping the other high-level features of Spoonbill. It has a NOTES.txt file with the remaining code to read/review for integration.

Another option is to store some of the metadata files created by Flatterer, when the Data Registry converts the JSON to Excel and CSV. Those metadata files can then be used to do basic table customizations in spoonbill-web like: decide which tables and columns to include, and how to rename the headings. With this approach, the "shape" of the tables is unchanged.

If we want to offer other shapes (like combining documents into one sheet) we can do that by editing (pre-processing) the JSON (would need to add our own _link columns?). In terms of pre-processing, I think we can’t implement "roll-up multiple" easily (unless we name JSON fields like "fieldname/0"?). I tagged some issues that involve pre-processing the data before it’s flattened.

See also this Slack thread. Some notes:

  • For translated field titles as column headings, we just need to provide an extended and translated schema to Flatterer.
@jpmckinney jpmckinney added the enhancement New feature or request label Mar 5, 2024
@jpmckinney jpmckinney added this to the Priority milestone Mar 5, 2024
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