{"id":22353207,"url":"https://github.com/joelseq/ucsd-rooms-seed","last_synced_at":"2026-06-29T16:32:29.115Z","repository":{"id":95218659,"uuid":"73882947","full_name":"joelseq/ucsd-rooms-seed","owner":"joelseq","description":"Seed MongoDB with all the schedule of classes data for ucsd-rooms","archived":false,"fork":false,"pushed_at":"2018-01-10T21:07:27.000Z","size":210,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-31T12:39:58.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.ucsdrooms.com","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/joelseq.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":"2016-11-16T04:09:34.000Z","updated_at":"2017-09-12T22:37:20.000Z","dependencies_parsed_at":"2023-04-10T11:32:36.527Z","dependency_job_id":null,"html_url":"https://github.com/joelseq/ucsd-rooms-seed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joelseq/ucsd-rooms-seed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelseq%2Fucsd-rooms-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelseq%2Fucsd-rooms-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelseq%2Fucsd-rooms-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelseq%2Fucsd-rooms-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joelseq","download_url":"https://codeload.github.com/joelseq/ucsd-rooms-seed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelseq%2Fucsd-rooms-seed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34935449,"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-29T02:00:05.398Z","response_time":58,"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":[],"created_at":"2024-12-04T12:34:40.362Z","updated_at":"2026-06-29T16:32:29.086Z","avatar_url":"https://github.com/joelseq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UCSD Rooms Seed\n\nSeeds the Database for [UCSD Rooms](https://github.com/joelseq/ucsd-rooms)\n\n## Instructions to seed DB\n\nMake sure to have a local instance of MongoDB running, then:\n\n1. Make sure to set the `QUARTER` variable in `get_codes.js` to the desired quarter (eg. `const QUARTER = 'SP17'`)\n2. Run `node get_codes.js`\n3. Make sure to set the `QUARTER` variable in `socs.js` to the desired quarter (eg. `const QUARTER = 'SP17'`)\n4. Create a `data` directory\n5. Edit the for loop in `socs.js` to run only 10 times eg. `for (let i = 0; i \u003c 10; i++) {}` if not the operation times out and there will be data loss.\n6. Run `node socs.js`\n7. Repeat steps 5 and 6 but update the values by 10 each time until one file for each department has been written to the data folder\n8. Run `node add_rooms.js`\n9. Run `node add_times.js`\n10. Run `node add_openings.js`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelseq%2Fucsd-rooms-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoelseq%2Fucsd-rooms-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelseq%2Fucsd-rooms-seed/lists"}