This project is about listing the Top 100 Universities in Nigeria and gathering information about them. The first data was extracted with BeautifuSoup package, from Webometric Ranking table of 2020. This data include the list of the schools with their ranking and world ranking.
The other data was extracted from each school wikipedia page, with the help of Wptools API. It includes information such chancellor and vice-chancellor of the school, if there is any.
- Requests
- Pandas
- BeautifulSoup
- os
- Wptools
- Time
- JSON
- Numpy
The extraction from webometrics ranking using BeautifulSoup was successful.
While manually getting the urls of each school from wikipedia, some schools such as Federal University Kashere Gombe State
, had no wikipedia page, while some school had wikipedia page but no infobox. As a result of some schools not having the required information needed, the JSON data was extracted with NaN as default value.
Both datas from Beautilful soup extraction and wptools extraction was merged together and saved to a file top_100_universities_in_nigeria.csv