I hereby claim:
- I am derekeder on github.
- I am derekeder (https://keybase.io/derekeder) on keybase.
- I have a public key ASAUWHUB5go_eQ6s4wgRHynwA5LWv1rDedMNZg2mzdtq9Ao
To claim this, I am signing this object:
| [color] | |
| ui = auto | |
| [color "branch"] | |
| current = yellow reverse | |
| local = yellow | |
| remote = green | |
| [color "diff"] | |
| meta = yellow bold | |
| frag = magenta bold | |
| old = red bold |
| <div style='display:none;'> | |
| <h4> | |
| Address <small>(<a id='find_me' href='#'>find me</a>)</small> | |
| </h4> | |
| <input class='input-block-level' id='search_address' placeholder='Enter an address or an intersection' type='text' /> | |
| <label> | |
| within | |
| <select class='input-small' id='search_radius'> | |
| <option value='400'>2 blocks</option> | |
| <option value='805'>1/2 mile</option> |
| queryPointDistances: function(whereClause) { | |
| MapsLib.query("'latitude', 'longitude'", whereClause,"MapsLib.getPointDistances"); | |
| }, | |
| getPointDistances: function(json) { | |
| MapsLib.handleError(json); | |
| var data = json["rows"]; | |
| var destinations = []; | |
| var service = new google.maps.DistanceMatrixService(); |
| displayList: function(json) { | |
| MapsLib.handleError(json); | |
| var data = json["rows"]; | |
| var template = ""; | |
| var results = $("#results_list"); | |
| results.hide().empty(); //hide the existing list and empty it out first | |
| if (data == null) { | |
| //clear results list |
| <div style="display:none;"> | |
| <h4> | |
| Address <small>(<a id='find_me' href='#'>find me</a>)</small> | |
| </h4> | |
| <p> | |
| <input class='form-control' id='search_address' placeholder='Enter an address or an intersection' type='text' /> | |
| </p> | |
| <p> | |
| <label> | |
| within |
| $("#PercentDTaP-slider").slider({ | |
| orientation: "horizontal", | |
| range: true, | |
| min: 0, | |
| max: 1, | |
| values: [0, 1], | |
| step: 0.1, | |
| slide: function (event, ui) { | |
| $("#age-selected-start").html(ui.values[0]); | |
| $("#age-selected-end").html(ui.values[1]); |
| <div id="disqus_thread"></div> | |
| <script> | |
| /** | |
| * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS. | |
| * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables | |
| */ | |
| /* | |
| var disqus_config = function () { | |
| this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable | |
| this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable |
I hereby claim:
To claim this, I am signing this object:
Open Civic Data API documentation: https://ocd-api-documentation.readthedocs.io/en/latest/
All API responses are in JSON format.
Using the Open Civic Data API, you can do a query to find all bill votes for Chicago City Council that have both yes and no votes present for a particular legislative session:
Parameters:
| import requests | |
| from csv import DictReader, DictWriter | |
| from tqdm import tqdm | |
| def add_lat_long(input_file, output_file): | |
| "Adds latitude and longitude to the primary table" | |
| reader = DictReader(input_file) | |
| fieldnames = [] |