Skip to content

case_sparql_select: Add CSV and TSV output modes - #88

Merged
ajnelson-nist merged 5 commits into
developfrom
case_sparql_select_add_csv_and_tsv_output
Dec 7, 2022
Merged

case_sparql_select: Add CSV and TSV output modes#88
ajnelson-nist merged 5 commits into
developfrom
case_sparql_select_add_csv_and_tsv_output

Conversation

@ajnelson-nist

Copy link
Copy Markdown
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 <alexander.nelson@nist.gov>
@ajnelson-nistajnelson-nist added this to the 0.9.0 milestone Dec 6, 2022
@ajnelson-nist

Copy link
Copy Markdown
MemberAuthor

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 developDec 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 freeto 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

@ajnelson-nist@kchason