DS4UX (Spring 2016)/Day 6 coding challenge: Difference between revisions
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
;Bonus challenges | ;Bonus challenges | ||
:6. How many views does it have per day, on average? | :6. How many views does it have per day, on average? | ||
:7. How many views did it have per day on German Wikipedia? | :7. How many views did it have per day on German Wikipedia? | ||
:8. Who’s the person named in the Panama papers with the most views to their Wikipedia page? | :8. Who’s the person named in the Panama papers with the most views to their Wikipedia page? |
Revision as of 01:19, 27 April 2016
This week, you will be required to attempt the first 5 challenges in this list using Python and the requests
module to gather data from APIs. You must upload your solution scripts via Canvas before class. You will NOT be graded on whether your solutions are correct, efficient, or even functional—just on whether you turn in an attempt at a solution that shows you tried. You WILL be marked down if you don't submit your solutions—so be sure to spend time attempting these challenges!
You do NOT need to complete and turn in your answers to the bonus challenges (#6, #7, and #8). You will not be graded on these. But if you do attempt them, I'd love to see your solutions!
Being able to work through at least many of these challenges is a very good sign that you have mastered the important Python concepts we've covered so far. As always, it is fine to collaborate or work together on these problem sets, as long as you submit your solutions separately. And this week, please don't broadcast your responses via Canvas before Sunday night.
- 1. Who made the total most edits to the article Panama Papers?
- 2. What’s the number of edits per day in the first two weeks of the article's existence?
- 3. What’s the peak number of edits per hour of the article? When did it occur?
- 4. Who were the top editors during that hour?
- 5. What day did Pentagon Papers have the most views, and how many views did it have?
- Bonus challenges
- 6. How many views does it have per day, on average?
- 7. How many views did it have per day on German Wikipedia?
- 8. Who’s the person named in the Panama papers with the most views to their Wikipedia page?