Computational Methods in the Civic Sphere // 2018¶
Current assignments¶
- txdeathrow_scraper / Week 6 / due 2018-02-21 23:59
- txdeathrow_check / Week 5 / due 2018-02-12 23:59
- sortsequences / Week 5 / due 2018-02-12 23:59
- stanford_headlinez_souped / Week 5 / due 2018-02-12 23:59
- ezsequences / Week 5 / due 2018-02-07 23:59
- stanford_headlinez / Week 3 / due 2018-01-23 23:59
- hello_world / Week 2 / due: 2018-01-18 23:59
- foozbuzz / Week 2 / due: 2018-01-19 23:59
This week¶
Week 10¶
Homework¶
For Friday: Write a short summary (400 words) of what you want to find out and report on re: Senate disclosures. Include at least 5 URLs to relevant news stories.
Project due Thursday, March 22, 11:59 PM.
- Code for scraping/parsing data
- Code for creating a visualization (MATLAB)
In-class¶
Write scripts to scrape saved files from Senate site.
(download TK)
Create project repo:
cd ~/Desktop/compciv-2018-SUNETID
mkdir senate-disclosures
cd senate-disclosures
echo 'Final project repo' >> README.md
git add .
git commit -m 'first'
git push
Readings¶
Help Us Map TrumpWorld (example of a financial disclosures project): https://www.buzzfeed.com/johntemplon/help-us-map-trumpworld
Look at the data created: https://docs.google.com/spreadsheets/d/1Z5Vo5pbvxKJ5XpfALZXvCzW26Cl4we3OaN73K9Ae5Ss/edit
Example of a (complicated) graphic from that data: http://www.kmov.com/story/34363878/all-of-president-trumps-web-of-business-ties-in-one-interactive-graphic
Street Views: http://antiboredom.github.io/streetviews/
OpenSecrets releases new 2015 personal financial data: Senators get richer; others not so much https://www.opensecrets.org/news/2017/10/opensecrets-releases-new-2015-personal-financialdata/
OpenSecrets methodology: https://www.opensecrets.org/pfds../methodology.php
- Online:
- Homepage: 2018.compciv.orgSlack: compciv.slack.com (invite link)
- Class:
- McClatchy Hall, Building 120Room 410Monday and Wednesdays, from 1:30PM to 2:50PM
- Instructor:
- Dan NguyenLorry I. Lokey Visiting Professor in Professional Journalism
- Contacts:
- Email: dun@stanford.eduTwitter: @dancowOffice: Room 342, McClatchy HallHours: After class (M/W 3-5 PM) or by appointment.
- Assignments and coursework
- Current assignments
- txdeathrow_scraper / Week 6 / due 2018-02-21 23:59
- txdeathrow_check / Week 5 / due 2018-02-12 23:59
- sortsequences / Week 5 / due 2018-02-12 23:59
- stanford_headlinez_souped / Week 5 / due 2018-02-12 23:59
- ezsequences / Week 5 / due 2018-02-07 23:59
- stanford_headlinez / Week 3 / due 2018-01-23 23:59
- hello_world / Week 2 / due: 2018-01-18 23:59
- foozbuzz / Week 2 / due: 2018-01-19 23:59
- Expectations
- Grading policy
- Current assignments
- About this Course
- Syllabus
- Week 1: Hello COMM 113/213
- Week 2: Python programming and the command-line
- Week 3: Design and debugging and data
- Week 4: More with APIs and building programs
- Week 5: The Web
- Week 6: Text as Data
- Week 7: More Text as Data
- Week 8: More Text as Data and Data Analysis
- Week 9: Data Analysis with Pandas (continued)