https://wiki.communitydata.science/index.php?title=Community_Data_Science_Course_(Spring_2019)/Day_5_Coding_Challenges&feed=atom&action=historyCommunity Data Science Course (Spring 2019)/Day 5 Coding Challenges - Revision history2024-03-29T00:54:23ZRevision history for this page on the wikiMediaWiki 1.38.4https://wiki.communitydata.science/index.php?title=Community_Data_Science_Course_(Spring_2019)/Day_5_Coding_Challenges&diff=136127&oldid=prevGuyrt at 00:55, 2 May 20192019-05-02T00:55:31Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 01:55, 2 May 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Most of these exercises require exploring the documentation to find the endpoint and specific parameters to help you satisfy your answer. There may be more than one way to do it!</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Most of these exercises require exploring the documentation to find the endpoint and specific parameters to help you satisfy your answer. There may be more than one way to do it!</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>#<del style="font-weight: bold; text-decoration: none;">) </del>'''Reverse Geocoding''' Use the geocoding API to look up a specific latitude and longitude of your choice (try this building!). </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># '''Reverse Geocoding''' Use the geocoding API to look up a specific latitude and longitude of your choice (try this building!). </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>#<del style="font-weight: bold; text-decoration: none;">) </del>Craft a query using the search API to find colleges in Seattle. (Hint: you'll want to set bounded=1 and use viewbox). Print the name and location of every college you find.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Craft a query using the search API to find colleges in Seattle. (Hint: you'll want to set bounded=1 and use viewbox). Print the name and location of every college you find.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>#<del style="font-weight: bold; text-decoration: none;">) </del>How can you tell that a place returned by the API is in fact a college?</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># How can you tell that a place returned by the API is in fact a college?</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>#<del style="font-weight: bold; text-decoration: none;">) </del>Find bakeries near your home. (Hint: look at special phrases documentation)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Find bakeries near your home. (Hint: look at special phrases documentation)</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>#<del style="font-weight: bold; text-decoration: none;">) </del>Are there more cafes in Ballard or Capitol Hill? (Hint: investigate 'limit' keyword)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Are there more cafes in Ballard or Capitol Hill? (Hint: investigate 'limit' keyword)</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>#<del style="font-weight: bold; text-decoration: none;">) </del>Are there more dentists near the University or near Downtown?</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Are there more dentists near the University or near Downtown?</div></td></tr>
</table>Guyrthttps://wiki.communitydata.science/index.php?title=Community_Data_Science_Course_(Spring_2019)/Day_5_Coding_Challenges&diff=136125&oldid=prevGuyrt: Created page with "These exercises use the Nominatim API for OpenStreetMap. The docs can be found here: http://wiki.openstreetmap.org/wiki/Nominatim Most of these exercises require exploring th..."2019-04-30T21:42:13Z<p>Created page with "These exercises use the Nominatim API for OpenStreetMap. The docs can be found here: http://wiki.openstreetmap.org/wiki/Nominatim Most of these exercises require exploring th..."</p>
<p><b>New page</b></p><div>These exercises use the Nominatim API for OpenStreetMap. The docs can be found here: http://wiki.openstreetmap.org/wiki/Nominatim<br />
<br />
Most of these exercises require exploring the documentation to find the endpoint and specific parameters to help you satisfy your answer. There may be more than one way to do it!<br />
<br />
#) '''Reverse Geocoding''' Use the geocoding API to look up a specific latitude and longitude of your choice (try this building!). <br />
#) Craft a query using the search API to find colleges in Seattle. (Hint: you'll want to set bounded=1 and use viewbox). Print the name and location of every college you find.<br />
#) How can you tell that a place returned by the API is in fact a college?<br />
#) Find bakeries near your home. (Hint: look at special phrases documentation)<br />
#) Are there more cafes in Ballard or Capitol Hill? (Hint: investigate 'limit' keyword)<br />
#) Are there more dentists near the University or near Downtown?</div>Guyrt