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

CSV export of search results doesn't include source or source ID #267

Closed
kkatemoffatt opened this issue Aug 17, 2021 · 4 comments · Fixed by #268
Closed

CSV export of search results doesn't include source or source ID #267

kkatemoffatt opened this issue Aug 17, 2021 · 4 comments · Fixed by #268
Assignees
Labels

Comments

@kkatemoffatt
Copy link
Collaborator

Describe the bug
Exported CSV file of search results does not include source or source ID data in the file.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Database' and click 'Search titles.'
  2. Click on 'Advanced search'
  3. Scroll down to 'Filter by source' and type in 'ESTC'
  4. Click search, and then click 'Export - CSV'.
  5. In the CSV file, there is no column for source or source ID

Expected behavior
There should be a column for the source and a column for the source ID in the exported CSV file.

@kkatemoffatt
Copy link
Collaborator Author

Hi Michael! The new column for source / source ID in the CSV export combines all of the sources and their IDs into one column together. I'm trying to share our ESTC ID source data with a fellow scholar who is doing work on the ESTC, so I'm wondering if it's possible to split the source info into multiple columns so that I can more easily share that data? ie. a column per source and source ID, something like: SOURCE 1 / SOURCE 1 ID / SOURCE 2 / SOURCE 2 ID, etc? That way I can remove the columns with sources and IDs I don't need.

Let me know if you need any other info or if I should submit another bug report for this! Thanks so much for all of your help!

@ubermichael
Copy link
Contributor

Hi Kate.

Sources can be multi-valued so separating the source name from the source ID isn't the right thing to do. The result would look something like

Source Name Source ID
Estc, Abc, Orlando 12456, 57a89t, bl00m

Since this is a kind of one-off issue, I can extract the information you need. Is it all titles with an ESTC Source? That should be all the titles in https://womensprinthistoryproject.com/source/2

@kkatemoffatt
Copy link
Collaborator Author

kkatemoffatt commented Aug 19, 2021 via email

@ubermichael
Copy link
Contributor

I have created wphp-estc.csv and shared it via SFU vault. Please send me an email if you don't get the notification in the next while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

3 participants