{"id":16118838,"url":"https://github.com/peaske7/parse-universities","last_synced_at":"2025-04-06T09:50:42.992Z","repository":{"id":132587671,"uuid":"334552655","full_name":"peaske7/parse-universities","owner":"peaske7","description":"A collection of node scripts to clean csv data and output usable json files on colleges and universities in the U.S.","archived":false,"fork":false,"pushed_at":"2021-07-09T14:21:39.000Z","size":30211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T15:28:26.709Z","etag":null,"topics":["csv","parser"],"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/peaske7.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}},"created_at":"2021-01-31T02:01:08.000Z","updated_at":"2021-07-09T14:22:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9c2f46a-b513-4270-a4cc-041634bf79bb","html_url":"https://github.com/peaske7/parse-universities","commit_stats":null,"previous_names":["peaske7/parse-universities"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaske7%2Fparse-universities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaske7%2Fparse-universities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaske7%2Fparse-universities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaske7%2Fparse-universities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peaske7","download_url":"https://codeload.github.com/peaske7/parse-universities/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463903,"owners_count":20942948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["csv","parser"],"created_at":"2024-10-09T20:50:49.911Z","updated_at":"2025-04-06T09:50:42.969Z","avatar_url":"https://github.com/peaske7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏫 Parse Univerisity Data\n\n## ❓What is this?\nThere is an abundance of useful information concerning colleges and universities collected by government agencies. However, you don't need all the info they provide, just the stuff that's really important. So, I parse-universities is an attempt to simplify the process, and also converts csv to json for better ease of implementation in existing js based code bases.\n\n## 🔭 Future Intentions\nI intend on writing a more detailed documentation for the different parser functions, and a better quick start guide.\n\n## 🚀 Quick Start\nFirst, install the necessary npm dependencies for the project\n```\nnpm install\n```\n\nThen, write the parser functions you wish. An example could be something like the following.\n```\nconst parseSchools = require('./parsers/parseSchools.js')\n\nparseSchools.parseForSchools(1, 10, 1)\n```\nRun the paser functions you wrote in index.js, and run.\n```\nnode index.js\n```\nCreate a folder named 'output' in the root directory, and write the following.\n```\nconst parseMajors = require('./parsers/parseMajors.js')\n\nparseMajors.parseMajorsWithMap('./output/majors/schoolsInFile1.json')\n```\nRun the parser function.\n```\nnode index.js\n```\n\nIn the end, the index.js file should like below.\n```\nconst parseShools = require('./parsers/parseShools.js')\nconst parseMajors = require('./parsers/parseMajors.js')\n\nparseSchools.parseForSchools(1, 10, 1)\n\nparseMajors.parseMajorsWithMap('./output/majors/schoolsInFile1.json')\n```\n\n## 🔮 Parsers\nI've written a couple different parser functions that serve different uses. \n\n### Parse CIP CSV and convert to JSON\nCheck [parsers/parseCIPLookup.js](https://github.com/DrPoppyseed/parse-universities/blob/main/parsers/parseCIPLookup.js).\n\nParses through [csv/cip/cipraw.csv](#) and outputs json file with the major's cipcode, name, and description, in the following format.\n```\n[\n  ...,\n  {\n    \"cipcode\": \"52.0305\",\n    \"major\": \"Accounting and Business/Management\",\n    \"description\": \"An integrated or combined program in accounting and business administration/management that prepares individuals to function as accountants and business managers.\"\n  },\n  ...\n]\n\n```\n\n### Parse Majors with Stats\nCheck [parsers/parseMajors.js](https://github.com/DrPoppyseed/parse-universities/blob/main/parsers/parseMajors.js)\n\n*Documentation coming soon*\n\n### Parse Schools (Run this before using parseMajors)\nCheck [parsers/parseSchools.js](https://github.com/DrPoppyseed/parse-universities/blob/main/parsers/parseSchools.js)\n\n*Documentation coming soon*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeaske7%2Fparse-universities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeaske7%2Fparse-universities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeaske7%2Fparse-universities/lists"}