Last active
August 29, 2015 14:08
-
-
Save tlehman/cc9e2c32b754369ef736 to your computer and use it in GitHub Desktop.
Multnomah County Election Results Data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| curl -s https://multco.us/elections/november-2014-general-election-results | ruby -e 'STDIN.readlines.each {|line| puts line if /<pre>/ =~ line .. /<\/pre>/ =~ line }' |
Author
Author
From @thorncp: https://gist.github.com/thorncp/6c9209d09ca3baa0bad6
TIL the range operator works with conditionals
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's how one could filter the results further and just look at some of the Measures, for example: