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

Add Direct Lookups for LC Genres #367

Open
sfolsom opened this issue Jul 28, 2023 · 2 comments
Open

Add Direct Lookups for LC Genres #367

sfolsom opened this issue Jul 28, 2023 · 2 comments

Comments

@sfolsom
Copy link
Contributor

sfolsom commented Jul 28, 2023

Create direct lookups for the following LC Genre.

The Samvera QA Code seems to offer search for LC Genres: https://github.com/samvera/questioning_authority/wiki/Connecting-to-Library-of-Congress-%28LOC%29.

  • Hopefully we can turn this on for our app.
  • If not, we’ve discussed the possibility of converting LC suggest2 json response into linked data that QA can recognize and use the linked data module to translate

Related links:
See https://id.loc.gov/techcenter/searching.html for API documentation.

Example of a direct search config to base new config off:

Data to bring in and translate, if available in the API: https://docs.google.com/spreadsheets/d/1rPvEoP9iYNkxJ0eWC8gXe3ci7e6mhW0da59xkGhadi0/edit#gid=696491968

@chrisrlc
Copy link

chrisrlc commented Oct 31, 2023

@sfolsom This is ready for you to test on lookup-int! Direct lookup results use the id.loc.gov api (same results as what you'd find here: https://id.loc.gov/search/?q=cs:http://id.loc.gov/authorities/genreForms). Each result has an id, label, and uri parsed from: https://id.loc.gov/search/?q=cs:http://id.loc.gov/authorities/genreForms&format=json

Please let me know if you'd like any changes!

LC genres lookup endpoint example: https://lookup-int.ld4l.org/authorities/search/loc/genreForms?q=rondels

@sfolsom
Copy link
Contributor Author

sfolsom commented Oct 31, 2023

These look good! It's nice to see that LOC's indexing allows searching variant headings, not just preferred headings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

No branches or pull requests

2 participants