Download the CSV data files as described below. Then run ipeds2sql.php
to
generate a SQL file to load into the database. You can edit the ipeds2sql.php
to omit certain datasets if desired.
Use the NCES Elsi Table Generator
- Table row: Public School
- Year: most recent
- Table Columns:
- State Abbr
- School Name
- Agency Name
- Agency ID
- Location ZIP
- Filters: State: All 50 States + DC + Outlying Areas
- Create Table
- Download as CSV
- After download, delete excess rows from top and bottom of table, keeping header row
Use the NCES Elsi Table Generator
- Table row: Private School
- Year: most recent
- Table Columns:
- Private School Name
- School ID
- State Abbr
- ZIP
- Filters: State: All 50 States + DC + Outlying Areas
- Create Table
- Download as CSV
- After download, delete excess rows from top and bottom of table, keeping header row
Use the IPEDS Custom Data File
- Tab Select Institutions:
- By Groups
- EZ Group
- All institutions
- Search
- Tab Select Variables
- Open Insitutional Characteristics, Directory information, then select:
- Institution Name
- State abbreviation
- ZIP code
- Continue
- Download as CSV
Download from https://github.com/endSly/world-universities-csv
imas_ipeds
- id autoincrement
- ID type
- I: IPED unitid
- S: NCES schoolid
- A: NCES agencyid
- W: Intl college, id=md5(schoolname . country code)
- U: Intl secondary. id=md5(schoolname . country code)
- C: Custom added school uniqid (recommended: md5(schoolname . country code))
- ipedsid (base on IPEDS unitid and NCES School ID or Agency ID)
- IPED unitid
- NCES schoolid
- NCES agencyid
- Custom added school uniqid (recommended: md5(schoolname . country code))
- School Name
- Agency Name (only used for type A)
- Country (2 char)
- State (2 char)
- ZIP (INT)
imas_iped_group
- type
- ipedid
- groupid
- primary key of all three. No need for autoinc id