Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment we will use, what we have just learnt about requests and bs4, to scrape data from Wikipedia, and then use the data

In this assignment we will use, what we have just learnt about requests and bs4, to scrape data from Wikipedia, and then use the data to answer the questions. NOTE: do not use API's to get the data from Wikipedia (use requests and bs4). Scrapped results might not be the same as results from APIs

Let's look at top-5 countries of the European Union by population. They are Germany, France, Italy, Spain, Poland.

In this assignment you are required to look at wikipedia pages of these countries. More specifically, at history of edits of the pages (Click on 'View History' at the top right when you are on wikipedia article page). You are free to use any scraping tools we have covered to answer the questions, that you will find below.

How many edits overall were made on pages of all the countries in 2019?

What is the highest number of edits per country in 2019 among all countries present?

What is the lowest number of edits per country in 2019 among all countries present?

How many users overall made edits on the countries' pages in 2019?

What is the highest number of users made edits on country's page among all countries present in 2019?

What user made the most edits?

What is average number of edits per day in 2019?

What is average number of edits per user in 2019?

What is average number of edits per day in the country with most edits in 2019?

What is average number of edits per user in the country with most edits in 2019?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Demystifying Databases A Hands On Guide For Database Management

Authors: Shiva Sukula

1st Edition

8170005345, 978-8170005346

More Books

Students also viewed these Databases questions