Scripts used in the "Who at Princeton has a web site?" project
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
classes.py
majors.py
netid.py
ping.py
surfer.py

README.md

websites

Scripts used in the "Who at Princeton has a web site?" project at http://www.princeton.edu/~saha/websites/

USAGE

Percentage of Students Who Have Web Site

  • Run "python netid.py everyone.csv > netid.txt"
  • Run "python ping.py netid.txt > netidstatus.txt"
  • Use surfer.py and count lines to make SVG

Student Website Surfer

  • Generate netidstatus.txt, as described above
  • Run "python surfer.py netidstatus.txt > surfer.txt"
  • Paste that into explorer.html

Web Sites by Major

  • Run "python majors.py netidstatus.txt everyone.csv > majors.csv"
  • Use Nodebox

Web Sites by Class

  • Run "python classes.py netidstatus.txt everyone.csv > classes.csv"
  • Use Nodebox