Editing Community Data Science Course (Spring 2016)

From CommunityData

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 2: Line 2:
:'''COM597G''' - Department of Communication
:'''COM597G''' - Department of Communication
:'''Instructor:''' [http://guyrt.github.com Richard Thomas (Tommy) Guy]  
:'''Instructor:''' [http://guyrt.github.com Richard Thomas (Tommy) Guy]  
:'''Course Website''': We will use Canvas for [https://canvas.uw.edu/courses/1039305/announcements Announcements], [https://canvas.uw.edu/courses/1039305/assignments Assignments], and [https://canvas.uw.edu/courses/1039305/discussion_topics discussion]. Everything else will be linked on this page.
:'''Course Website''': We will use Canvas for TODOAnnouncements, TODOAssignments, and TODOdiscussion. Everything else will be linked on this page.
:'''Course Catalog Description:'''
:'''Course Catalog Description:'''


Line 29: Line 29:


# Although details on this syllabus will change, I will not change readings or assignments less than one week before they are due. If I don't fill in a "''To Be Determined''" one week before it's due, it is dropped. If you plan to read more than one week ahead, contact me first.
# Although details on this syllabus will change, I will not change readings or assignments less than one week before they are due. If I don't fill in a "''To Be Determined''" one week before it's due, it is dropped. If you plan to read more than one week ahead, contact me first.
# Closely monitor your email or the announcements section on the [https://canvas.uw.edu/courses/1039305/announcements canva]. Because this a wiki, you will be able to track every change by clicking the ''history'' button on this page (you'll even learn how to do this in a program in this class!). I will also summarize these changes in an announcement [https://canvas.uw.edu/courses/1039305/announcements announcements on Canvas] that will be emailed to everybody in the class.
# Closely monitor your email or the announcements section on the [TODO canvas link]. Because this a wiki, you will be able to track every change by clicking the ''history'' button on this page (you'll even learn how to do this in a program in this class!). I will also summarize these changes in an announcement [TODO announcements on Canvas] that will be emailed to everybody in the class.
# I will ask the class for voluntary anonymous feedback frequently — especially toward the beginning of the quarter. Please let me know what is working and what can be improved.  
# I will ask the class for voluntary anonymous feedback frequently — especially toward the beginning of the quarter. Please let me know what is working and what can be improved.  


== Readings ==
== Books ==
This class is going to be a studio and project based class. Although we will not rely very heavily on readings or discussing them in depth in class, I'm strongly recommending a book that will cover the material we go over in class and which will provide a reference work for you to refer to:
This class is going to be a studio and project based class. Although we will not rely very heavily on readings or discussing them in depth in class, I'm strongly recommending a book that will cover the material we go over in class and which will provide a reference work for you to refer to:


# '''[http://www.pythonlearn.com/book.php Python for Informatics: Exploring Information]''' by Charles Severance. The book is available online for free but you can also buy a physical copy of the book [http://www.amazon.com/gp/product/1492339245/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1492339245&linkCode=as2&tag=drchu02-20 from Amazon] or get an electronic copy from the [http://www.amazon.com/dp/B00K0O8HFQ Kindle Store]. According to the book's website: "The goal of this book is to provide an Informatics-oriented introduction to programming. The primary difference between a computer science approach and the Informatics approach taken in this book is a greater focus on using Python to solve data analysis problems common in the world of Informatics."
# '''[http://www.pythonlearn.com/book.php Python for Informatics: Exploring Information]''' by Charles Severance. The book is available online for free but you can also buy a physical copy of the book [http://www.amazon.com/gp/product/1492339245/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1492339245&linkCode=as2&tag=drchu02-20 from Amazon] or get an electronic copy from the [http://www.amazon.com/dp/B00K0O8HFQ Kindle Store]. According to the book's website: "The goal of this book is to provide an Informatics-oriented introduction to programming. The primary difference between a computer science approach and the Informatics approach taken in this book is a greater focus on using Python to solve data analysis problems common in the world of Informatics."


There will still be a few readings throughout the semester including at least the following:
Some people find it's helpful to have a book to learn a new programming language: it tells you want you "don't know you don't know". Other people prefer to use adhoc resources. I'll point you to resources I find helpful throughout the semester.


# Chapter 2 ("How to Keep Score") of [http://www.amazon.com/Lean-Analytics-Better-Startup-Faster/dp/1449335675 Lean Analytics] by Alistair Croll and Benjamin Yoskovitz.
# Chapters 1 and 2 of [http://masteringmetrics.com/ Mastering Metrics] by Joshua D. Angrist and Jorn-Steffen Pischke.
# Several excellent uses of data in articles from [http://www.fivethirtyeight.com FiveThirtyEight] and similar sources.
If you run across a particularly great example of a story told with data, please pass it along!
For book chapters, I'll make pdfs available at least 1 week ahead of time. In general, you should expect to spend an hour or less reading per week and 6 or more hours a week on programming tasks.


== General Notes ==
== General Notes ==


* I expect you to come to class every day ''with your own laptop''. Windows, Mac OS and Linux are all fine but an iPad or Android tablet is not going to cut it. We're going to install software during the class and you'll be working on projects for homework so please bring the same laptop each time. If for some reason your laptop dies mid-course, please contact me so we can get your new one up to speed.
* I expect you to come to class every day ''with your own laptop''. Windows, Mac OS and Linux are all fine but an iPad or Android tablet is not going to cut it. We're going to install software during the class and you'll be working on projects for homework so please bring the same laptop each time. If for some reason your laptop dies mid-course, please contact me so we can get your new one up to speed.
* Jason Portenoy is our assistant during class. Much of the class will be project-based and Jason and I will be available to help you through challenges you encounter in this work during class. If you have questions and need to reach to somebody outside of class, however, please reach out to me!
* TODO who is my assistant We're working on it.? Much of the class will be project-based and William and I will be available to help you through challenges you encounter in this work during class. If you have questions and need to reach to somebody outside of class, however, please reach out to me!
* I can be reached at the following: richardtguy84@gmail.com or guyrt@uw.edu (it all flows to the same place). Email is generally the easiest way to reach out, but Google Hangouts at richardtguy84 will also work. Like many of you, I work 9-5 but I commit to responding to any email within 24 hours of receipt and generally less than that.


== Assignments ==
== Assignments ==
Line 60: Line 52:
:'''Maximum Length:''' 600 words (~2 pages double spaced)
:'''Maximum Length:''' 600 words (~2 pages double spaced)
:'''Due Date:''' April 13
:'''Due Date:''' April 13
:'''Drop box:''' [https://canvas.uw.edu/courses/1039305/assignments/3252050 Canvas]
:'''Drop box:''' [[TODO canvas assignments Turn in on Canvas]]




Line 78: Line 70:


Your proposal should frame your final analysis, but it's also a chance to "sanity check" your plan. I will give you feedback on these proposals and suggest changes or modifications that are more likely to make them successful or compelling. I will also work with you to make sure that you have the resources and support necessary to carry out your project successfully.
Your proposal should frame your final analysis, but it's also a chance to "sanity check" your plan. I will give you feedback on these proposals and suggest changes or modifications that are more likely to make them successful or compelling. I will also work with you to make sure that you have the resources and support necessary to carry out your project successfully.
Be as specific as possible about the data available on the sources you've chosen. Identify the documentation and the API endpoints where required. If there are libraries that you think may help with access, note them.


=== Final Project ===
=== Final Project ===
:'''Presentation Date:''' June 1, 2016
:'''Presentation Date:''' June1
:'''Paper Due Date:''' June 10, 2016 at midnight.
:'''Paper Due Date:''' TBD roughly 1 week after June 1.
 
''' [https://canvas.uw.edu/courses/1039305/assignments/3293283 Hand in your presentation here] '''
 
''' [https://canvas.uw.edu/courses/1039305/assignments/3293284 Hand in your final paper here] '''


For your final project, I expect you to build on the first two assignments to describe what they have done and what you have found. I'll expect every student to give both:
For your final project, I expect you to build on the first two assignments to describe what they have done and what you have found. I'll expect every student to give both:
Line 118: Line 104:
==== Presentation ====
==== Presentation ====


Your presentation should provide me with a very clear idea of what to expect in your final paper. However, don't treat it as a comprehensive overview of your paper: I would rather you tell a subset of the story well than the whole story in a rushed fashion. I'm going to give you all at least a paragraph of feedback after your talk. This will be an opportunity for me to see a preview of your paper and give you a sense for what I think you can improve. It's to your advantage to both give a compelling talk and to give me a sense for your project.
Your presentation should do everything that your paper does and should provide me with a very clear idea of what to expect in your final paper. I'm going to give you all at least a paragraph of feedback after your talk. This will be an opportunity for me to see a preview of your paper and give you a sense for what I think you can improve. It's to your advantage to both give a compelling talk and to give me a sense for your project.


;Timing: All presentations will need to be '''a maximum of 7 minutes long'' with additional 2-3 minutes for questions and answers. Timing is going to be tight and I'm going to set an alarm and stop presentations that go too long. Concisely communicating an idea in the time allotted is an important skill in it's own right.
;Timing: All presentations will need to be '''a maximum of 7 minutes long'' with additional 2-3 minutes for questions and answers. Timing is going to be tight and I'm going to set an alarm and stop presentations that go too long. Concisely communicating an idea in the time allotted is an important skill in it's own right.




;Slides: You are encouraged to use slides for your talk but I will need your slides ahead of class. See link at top of this section.
;Slides: You are encouraged to use slides for your talk but I will need your slides ahead of class.


=== Participation ===
=== Participation ===
Line 153: Line 139:
* Quick introductions — Be ready to introduce yourself and describe your interest and goals in the class.
* Quick introductions — Be ready to introduce yourself and describe your interest and goals in the class.
* Class overview and expectations — We'll walk through this syllabus.
* Class overview and expectations — We'll walk through this syllabus.
* [[Community_Data_Science_Course_%28Spring_2016%29/Day_1_Exercise|Day 1 Exercise]] — You'll install software including the Python programming language and run through a series of exercises.
* Link coming — You'll install software including the Python programming language and run through a series of exercises.
* [[Community_Data_Science_Course_%28Spring_2016%29/Day_1_Tutorial|Day 1 Tutorial]] — You'll work through a self-guided tutorial introducing you to some basic concepts. When you're done, you'll meet with a member of the teaching team and we'll check you off.
* Link coming — You'll work through a self-guided tutorial introducing you to some basic concepts. When you're done, you'll meet with a member of the teaching team and we'll check you off.


'''By the end of class you will:'''
'''By the end of class you will:'''
Line 160: Line 146:
* Have a working python environment on your personal laptop.
* Have a working python environment on your personal laptop.
* Have written your first program in the python language.
* Have written your first program in the python language.
[http://goo.gl/forms/KO9Kyc9nqN Poll]
=== Week 2: April 6 ===
'''Assignment Due (nothing to turn in):'''
* Finish setup, tutorial and code academy in the [[Community Data Science Course (Spring 2016)/Day 1 Exercise|week 01 exercises]].
'''Readings:'''
* Python for Informatics: [http://www.pythonlearn.com/html-009/book003.html Chapter 2  Variables, expressions and statements] and [http://www.pythonlearn.com/html-009/book004.html Chapter 3  Conditional execution]
'''Class Schedule:'''
* [[Community Data Science Course (Spring 2016)/Day 2 Lecture|Day 2 Lecture]] — Interactive class lecture including a review of material from last week and new material including loops, lists, and modules.
* Project time — We'll begin working on the [[wordplay]] independent projects independently or in small groups with assistance from the teaching team.
'''Resources:'''
* [[Community Data Science Course (Spring 2016)/Day 2 Plan|Day 2 Plan]]
* [[Community Data Science Course (Spring 2016)/Day 2 Coding Challenges|Day 2 Coding Challenges]]
[http://goo.gl/forms/xcwx6mDDZV Feedback Poll]
=== Week 3: April 13 ===
'''Assignment Due:'''
* [[#Final_Project_Ideas|Final Project Ideas]] [[https://canvas.uw.edu/courses/1039305/assignments/3252050 Turn in on Canvas]]
* Code solving challenges in [[wordplay]] project. This will ''not'' be graded, but I want to get a sense for where everyone is at. [[https://canvas.uw.edu/courses/1039305/assignments/3252042 Turn in on Canvas]]
'''Class Schedule:'''
* Review and Lecture — We'll walk through answers to the assignments for last week as a group.
* Project time — We'll begin working on a series of project based on the [[Baby_names]] project.
'''Resources:'''
* [[Python_data_types_cheat_sheet]] A cheat sheet with everything we've covered in class so far including today.
* [[Community Data Science Course (Spring 2016)/Day 3 Plan|Day 3 Plan]]
* [[Community Data Science Course (Spring 2016)/Day 3 Coding Challenges|Day 3 Coding Challenges]]
=== Week 4: April 20 ===
'''Assignment Due (nothing to turn in):'''
'''Class Schedule:'''
* Data Viz: let's walk through an example.
* Review and Lecture — We'll walk through answers to the assignments for last week as a group. Then we'll introduce APIs.
* Project time — We'll begin working on a series of projects based on Wikipedia's API.
'''Resources:'''
* [[Community Data Science Course (Spring 2016)/Day 4 Plan|Day 4 Plan]]
* [[Community_Data_Science_Course_(Spring_2016)/Day_4_Lecture|Day 4 Lecture]]
* [[Community Data Science Course (Spring 2016)/Day 4 Coding Challenges|Day 4 Coding Challenges]]
* [[Python_data_types_cheat_sheet]] A cheat sheet with everything we've covered in class so far.
=== Week 5: April 27 ===
'''Assignment Due (nothing to turn in):'''
'''Class Schedule:'''
* Review and Lecture — We'll walk through answers to the assignments for last week as a group. Then we'll introduce APIs.
* Project time — We'll begin working on a series of projects based on Wikipedia's API.
'''Resources:'''
* [[Community Data Science Course (Spring 2016)/Day 5 Plan|Day 5 Plan]]
* [[Community_Data_Science_Course_(Spring_2016)/Day_5_Lecture|Day 5 Lecture]]
* [[Community Data Science Course (Spring 2016)/Day 5 Coding Challenges|Day 5 Coding Challenges]]
* [[Python_data_types_cheat_sheet]] A cheat sheet with everything we've covered in class so far.
=== Week 6: May 4 ===
'''IMPORTANT: Class will be starting at 6:30 not 6:00 for May 4.'''
'''Assignment Due:''' Final project proposal.
[[https://canvas.uw.edu/courses/1039305/assignments/3270775 Turn in on Canvas]]
''' Class Schedule:'''
* Review and Lecture - We'll review all of the material from last week. No new material this week: I want to make sure you get caught up to date on working APIs in general.
* Project time - Two options.
** Option 1: Continue working on the Wikipedia questions. I've added a few new questions.
** Option 2: Start working on your final project with the help of a mentor. Use this time to cover questions like data access. If you can already download your data, great! Start thinking about analysis questions and visualizations.
* [[Community Data Science Course (Spring 2016)/Day 6 Plan|Day 6 Plan]]
* [[Community_Data_Science_Course_(Spring_2016)/Day_6_Coding_Challenges|Day 6 Challenge]]
* [[Python_data_types_cheat_sheet]] A cheat sheet with everything we've covered in class so far.
=== Week 7: May 11 ===
'''Assignment Due:'''
* Finish the [[Twitter authentication setup]] to request keys necessary to begin using the Twitter API.
''' Class Schedule:'''
* Review and Lecture - we'll review the exercise from last week.
** Samples
* One new thing to learn: opening and reading files.
* Lecture - introduce the [https://dev.twitter.com/overview/documentation|Twitter API]
** Sample code is [[Community_Data_Science_Course_(Spring_2016)/Day_6_Lecture|here]]
* Project time - Three options.
** Option 1: If you are working on Twitter, I would encourage you to work on the [[Community_Data_Science_Workshops_(Spring_2016)/Day_2_Projects/Twitter|getting Twitter data]] exercises.
** Option 2: If you are not working on Twitter, I would encourage you to work on the [[Community_Data_Science_Workshops_%28Spring_2016%29/Day_3_Projects/Twitter|Using Twitter Data]] exercises.
** Option 3: Take this time to get help with your projects (and do one of the other options this week).
''' Resources '''
* Twitter: [https://mako.cc/teaching/2015/cdsw-autumn/twitter-api-cdsw.zip]
=== Week 8: May 18 ===
''' Class Schedule:'''
* Talk about final presentations.
* Review last week's Twitter assignments (30 mins)
* Lecture (without code!) about what makes a good metric.
* Project time. Take this time to get help with and/or work on your projects.


== Administrative Notes ==
== Administrative Notes ==
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)