Using OpenRefine and OCLC's WorldCat Search APIs, the process searches and suggest good matching OCLC number for WorldCat knowledge base KBART file.
- OpenRefine (openrefine.org)
- Your own WSKey (https://www.oclc.org/developer/develop/authentication/how-to-request-a-wskey.en.html)
- WorldShare Collection Manager KBART file
- Replace {YOUR_WSKEY} with your own WSKey in KBART_oclc_lookup.txt.
- Open OpenRefine and create a new project.
- Once your spreadsheet is uploaded, go to Undo/Redo tab, click "Apply."
- Copy the entire JSON code in KBART_oclc_lookup.txt and paste it into the pop-up window.
- Click "Perform Operations."
The process adds a new column called "Suggested_OCLC_Number." If the search fails, it returns "Check manually." If the search finds an OCLC number that is same as the existing OCLC number in the "oclc_number" column, it returns "Good". If the OCLC number is not same as the existing OCLC number, it suggests the OCLC number.