Editing DS4UX (Spring 2016)/Day 6 coding challenge
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 10: | Line 10: | ||
:1. Which editor has made the total most edits to the article ''[[w:Panama_Papers| Panama Papers]]'' so far? | :1. Which editor has made the total most edits to the article ''[[w:Panama_Papers| Panama Papers]]'' so far? | ||
:2. How many edits | :2. How many edits did Panama Papers receive, on average, in its first two weeks? | ||
:3. What hour in the first two weeks had the highest number of edits? | :3. What hour in the first two weeks had the highest number of edits? | ||
:4. Who were the top | :4. Who were the top editors during that hour? | ||
:5. What day in the first two weeks had the most views? | :5. What day in the first two weeks had the most views? | ||
:6. Write a script that generates daily edit and view counts for Panama Papers over its first 30 days of existence, and prints them to a CSV or TSV file in reverse-chronological order. You file should have three colums with the headers "date", "edits" and "views". | |||
;Bonus challenges | ;Bonus challenges | ||
:6. Write a script that generates daily page view counts for Panama Papers, broken down by desktop and mobile (app + web) access methods over its first 30 days of existence, output them to a CSV file that you can open in Excel or a similar spreadsheet program, and use your data to create a graph of pagesviews by access method over time. Make sure your graph [http://www2.cs.uregina.ca/~rbm/cs100/notes/spreadsheets/tufte_paper.html follows sound information design principles]! | |||
:7. Write a script that generates daily page view counts for Panama Papers on German (de.wikipedia.org), English (en.wikipedia.org), and Spanish (es.wikipedia.org) Wikipedias. Output your results to CSV and graph them per the instructions for Challenge #6 above. | |||
::Hint: the title of this article is in English across all three Wikipedias. |