Although various of inequities are present in professional sports, discrimination against nationality is largely present. In particular, the athletes in the National Basketball Association (NBA) are predominantly American. Ever since its creation in 1946, the NBA has only ever had a single player from a Canadian university. This severe imbalance of player demographics arises from the lack of exposure, recognition, and marketing among countries other than the USA. This is the primary reason behind our project as we are determined to promote the success of Canadian athletes in highly successful leagues like the NBA. To build our project, we divided the program into three components. The first of which was to create an all-embracing algorithm to calculate the Player Value Rating (PVR). This formula quantifies how impactful a player was for his team. It accounts for metrics such as points scored, assists made, offensive rebounds, and steals. We then scraped data from the U Sports Hoops website, which contains updated raw information on each player’s statistics in Canadian basketball. Using this data and the PVR algorithm, we created a website to display the top players from each team. We hope access to this type of information is used to promote Canadian athlete success in high-level leagues. The most difficult task of the project was splitting up different functions between teammates and combining them together. As we all have slightly different programming styles, it was hard to ensure everything matched fluently. Nonetheless, we persevered and matched our coding styles to work. Other than that, scraping the data from the website was a difficult task as it was tiresome to format the data parameters according to the PVR algorithm. From creating this project, we further developed our understanding of web scraping, website design, and critical thinking. Our use of languages like Python developed for the better and we are excited to continue our education.

Share this project:

Updates