In addition to exporting Records as XML (#179), it will be helpful to allow the exporting of indexed fields as well. As this has been indexed in ES, this is tabular data.
For now, focus on a single Job, but could extend to similar scopes as Record XML exports.
The es2csv is a nice option, and fits the bill. However, it requires a python 2.7 environment. This would likely get added to the build, unless it can get shoehorned into python 3.x.
This makes for handy import into OpenRefine. However, looks as though the -k -- Kibana style -- flag will support comma delimited fields as well (these options could be bubbled up to GUI):
In addition to exporting Records as XML (#179), it will be helpful to allow the exporting of indexed fields as well. As this has been indexed in ES, this is tabular data.
For now, focus on a single Job, but could extend to similar scopes as Record XML exports.
The es2csv is a nice option, and fits the bill. However, it requires a python 2.7 environment. This would likely get added to the build, unless it can get shoehorned into python 3.x.
And that may be possible: forked a PR to the original repo that would work with 3.5: https://github.com/WSULib/es2csv
Then, with that installed, exporting an ES index is thusly:
When a field is multivalued, numbers are affixed:
This makes for handy import into OpenRefine. However, looks as though the
-k
-- Kibana style -- flag will support comma delimited fields as well (these options could be bubbled up to GUI):and results in values like: