{"id":25739634,"url":"https://github.com/phette23/scrape_rda_vocabs","last_synced_at":"2026-06-11T18:31:06.996Z","repository":{"id":276863809,"uuid":"925405674","full_name":"phette23/scrape_rda_vocabs","owner":"phette23","description":"RDA content, media, \u0026 carrier vocabs","archived":false,"fork":false,"pushed_at":"2025-06-06T19:48:55.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T20:55:22.543Z","etag":null,"topics":["cataloging","koha","marc","rda"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phette23.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-31T20:20:02.000Z","updated_at":"2025-06-06T19:48:57.000Z","dependencies_parsed_at":"2025-06-06T21:03:15.761Z","dependency_job_id":null,"html_url":"https://github.com/phette23/scrape_rda_vocabs","commit_stats":null,"previous_names":["phette23/scrape_rda_vocabs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phette23/scrape_rda_vocabs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fscrape_rda_vocabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fscrape_rda_vocabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fscrape_rda_vocabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fscrape_rda_vocabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phette23","download_url":"https://codeload.github.com/phette23/scrape_rda_vocabs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phette23%2Fscrape_rda_vocabs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34213180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cataloging","koha","marc","rda"],"created_at":"2025-02-26T08:29:18.383Z","updated_at":"2026-06-11T18:31:06.984Z","avatar_url":"https://github.com/phette23.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scrape RDA media vocabs\n\nScrape the RDA MARC 336/7/8 content/media/carrier vocabularies. I should have used an already structured source of these vocabularies before scraping them, like [the RDA Registry](https://www.rdaregistry.info/termList/), though unless I'm missing something that doesn't show the relationship between the codes and the terms. LC's [Linked Data Service](https://id.loc.gov/) does, though ([example](https://id.loc.gov/vocabulary/contentTypes/crd.html)).\n\n## Setup \u0026 Use\n\n`pnpm install`. Only needed for scrape.js, other scripts have no dependencies.\n\nnode 22+ because of the JSON import in koha-sql.js\n\n`node scrape.js` to get data off of LC's website and into a JSON file.\n\n`node koha-sql.js` to take the JSON and turn it into SQL `INSERT` statements for Koha authorized values.\n\n`node csv vocabs.json` to convert the JSON to CSV.\n\n`node yaml vocabs.json` to convert the JSON to Koha Authorized Values YAML.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphette23%2Fscrape_rda_vocabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphette23%2Fscrape_rda_vocabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphette23%2Fscrape_rda_vocabs/lists"}