Community Data Science Workshops (Spring 2014)/Saturday May 31st lecture: Difference between revisions

outline of talk
imported>Mako
No edit summary
imported>Mako
(outline of talk)
Line 3:
For the lecture, you really will need two files. Download both of these to your computer by using right or control click on the link and then using ''Save as'' or ''Save link as''. Keep track of where you put the files:
 
* http://mako.cc/ build_hpwp_dataset.py
* http://mako.cc/
 
Line 29:
** string.join()
* Walk-through of <code>get_hpwp_dataset.py</code>
* Look at dataset with <code>more</code> and/or in spreadsheet
* Load data into Python
** review of opening files
** csv module and and csv.reader() function
** csv.DictReader()
* Basic counting
** Count the number of minor edits/proportion
** Count the number of anonymous edits/proportion
* Advanced counting
** Count the number of edits per articles?
** Answer question: What are the most edited articles on Harry Potter?
** Count the number of edits per use?
** Answer question: Who are the most active editors on articles in Harry Potter?
* Looking at time series data
** "Bin" data by day to generate the trend line
* Exporting and visualizing data
** Export dataset on edits over time
** Export dataset on articles over users
** Load data into Google Docs
Anonymous user