This repository contains data, web scraping code, and analysis code for determining the US News College rankings of Tuition Exchange member schools. A tuition exchange program is one where colleges/universities provide possible free/reduced tuition to staff/faculty of any other member school.
If you are just interested in the data please see the data
folder. A website has also been created which is shown in the public
folder. If you want a real quick highlight here are the top 5 schools in each US News College ranking "categories":
All code is written in JavaScript/TypeScript. You must have nodejs
installed and then run npm install
.
npm run start scrape-tes
- This will scrape all the Tuition Exchange Schools and output the data in JSON format to thedata
folder underdata/tuition_exchange_schools.json
.npm run start scrape-usnews
- This will scrape all the US News Colleges and Universities and output the data in JSON format to thedata
folder underdata/usnews_schools.json
.npm run start combine-data
- This will try to combine match every TE school with a US News school to get ranking information. It will output the data in JSON format to thedata
folder underdata/combined_schools.json
.
A website to view the data has also been created in the client
and docs
folders. The website is built using SvelteJS and DataTables.
npm run client-build
- This will build the website and place it indocs
.