Files
undergrad-uh401/download.sh
2025-11-08 05:42:28 +00:00

16 lines
534 B
Bash
Executable File

#!/bin/bash
mkdir data
if [ ! -f data/scorecard.zip ]; then
wget https://ed-public-download.scorecard.network/downloads/College_Scorecard_Raw_Data_05192025.zip -O data/scorecard.zip
unzip data/scorecard.zip -o data/scorecard/
fi
if [ ! -f data/ua-historical.xlsx ]; then
wget "https://ncsesdata.nsf.gov/profiles/site?method=download&id=h1&tin=U3248002" -O data/ua-historical.xlsx
fi
if [ ! -f data/ua.xlsx ]; then
wget "https://ncsesdata.nsf.gov/profiles/site?method=download&id=h2&tin=U3248002" -O data/ua.xlsx
fi