Skip to content

case_sparql_select: Add CSV and TSV output modes #88

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

Merged
merged 5 commits into from
Dec 7, 2022

Conversation

ajnelson-nist
Copy link
Member

This patch series adds CSV and TSV output using the to_csv method provided by Pandas. This is keeping with the pattern of the other output mode functions already used in case_sparql_select (to_html, to_markdown).

One benefit of these modes comes from single-column output. A CSV or TSV mode of a single-column query makes a flat list of IRIs or literals that can be fed into other processes requiring text files.

This should be merged after #87 is merged.

No effects were observed on Make-managed files.

Signed-off-by: Alex Nelson <[email protected]>
@ajnelson-nist ajnelson-nist added this to the 0.9.0 milestone Dec 6, 2022
@ajnelson-nist
Copy link
Member Author

As with #87, an initial review without merge would be appreciated so the independent testing for these features can be brought together with catch-up merges.

@ajnelson-nist ajnelson-nist marked this pull request as ready for review December 7, 2022 19:41
@ajnelson-nist ajnelson-nist merged commit 83ec9ac into develop Dec 7, 2022
@ajnelson-nist ajnelson-nist deleted the case_sparql_select_add_csv_and_tsv_output branch December 7, 2022 19:41
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.

2 participants