Back to Browse

Building an Interactive Python Map (Pt 1) - Web Scraping Wikipedia

1.5K views
Sep 12, 2020
14:50

Building an Interactive Python Map is a series of videos where I document how I built this project to map the EFL Championship football clubs on a map of the UK, and make it interactive so that a user can click on a datapoint and see which team it is and useful information about the stadium. Today in Part 1, I demonstrate how to use common Python libraries such as requests, beautifulsoup and pandas, to web scrape from Wikipedia some useful information about the EFL Championship football clubs. If you'd like to check out the code and Jupyter Notebook to follow along, you can view it on Github here: https://github.com/leej11/efl_mapping/blob/master/01_wikipedia_scraping_demo.ipynb Building an Interactive Python Map Playlist | https://www.youtube.com/playlist?list=PLYhUEQbs6PyTu6uIElQebUebOwAM5DUsn 0:00 Introduction 1:31 What is this project? 2:12 Why did I create this project? 3:08 What will you learn from this video series? 4:41 Hands on with Wikipedia 5:56 The Jupyter Notebook Demo 6:08 Python Requests Library 7:19 Python BeautifulSoup Library 10:10 Chrome Inspect Tool 11:22 Python Pandas Library 12:13 Pulling it all together 13:02 What's next in this series? 13:18 Tell me what you think! ▬▬▬▬▬▬▬▬▬▬Follow me▬▬▬▬▬▬▬▬▬▬ 📺 Youtube: https://www.youtube.com/user/MrLeej11?sub_confirmation=1 📚 Blog: https://www.liamgower.com/ ✨Instagram: https://www.instagram.com/leejghd ▬▬▬▬▬▬▬▬▬▬Videos You Might Like▬▬▬▬▬▬▬▬▬▬ Learning Code with Anki | https://www.youtube.com/watch?v=lw5HsaFswEQ Learning Code with RemNote | https://www.youtube.com/watch?v=1mJKMNpwSiA&t=2s Programming Playlist | https://www.youtube.com/watch?v=XB-fKUwXX4E&list=PLYhUEQbs6PyT65-CR_yr6C3vuPyI_8dJ0 ▬▬▬▬▬▬▬▬▬▬Useful Links for This Video▬▬▬▬▬▬▬▬▬▬ Build an Interactive Python Map (My Blog Post): https://www.liamgower.com/blog/python-mapping-football-clubs EFL Championship Club Data (Wikipedia): https://en.wikipedia.org/wiki/EFL_Championship What is an API?: https://www.freecodecamp.org/news/what-is-an-api-in-english-please-b880a3214a82/ ▬▬▬▬▬▬▬▬▬▬Series Background▬▬▬▬▬▬▬▬▬▬ Back in 2015 my local football club, AFC Bournemouth, were promoted to the English Premier League, the highest tier of English football. This year, after 5 years in the league, we were relegated back to the 2nd tier of English football, called the EFL Championship. I was upset at the prospect of no longer watching my team play the most elite clubs in England, but I thought to myself how can I turn this into a positive? “Ooo, maybe I could do something as a Python project?” After a few evenings of tinkering around, I had built an interactive map of all the EFL Championship football teams. I realise I may have lost all non-football fans by now, but in this series of videos I want to share my approach to this project. From my personal experience in learning Python, I’ve found hundreds and hundreds of courses that teach you Python fundamentals, concepts, libraries and so on, but what is lacking is examples of projects. I find you can draw a lot of inspiration from how people write their own code and how they use Python to build projects that interest them. So consider this my attempt to fill that educational gap! This project covers A LOT of different skills that may be useful for people learning about Python, Data Science or Data Analysis! So stick with me, it’s not all football! #python #webscraping #code python,web scraping,wikipedia,data visualisation,data collection,tutorial,guide,coding,programming,code,programmer,learn,overview,scraping,beautifulsoup,bs4,learning,automate

Download

0 formats

No download links available.

Building an Interactive Python Map (Pt 1) - Web Scraping Wikipedia | NatokHD