Editing Community Data Science Workshops (Spring 2015)/Day 2 Projects/Socrata

From CommunityData

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 14: Line 14:


=== Download the Socrata project ===
=== Download the Socrata project ===
<font size="+1">[http://jtmorgan.net/cdsw/april25scripts.zip Click here to download the Socrata scripts]</font>
<font size="+1">[http://www.FIXME Click here to download the Socrata scripts]</font>


If you are confused by these steps, go back and refresh your memory with the [[Community Data Science Workshops (Fall 2015)/Day 0 setup and tutorial|Day 0 setup and tutorial]] and [[Community Data Science Workshops (Fall 2015)/Day 0 tutorial|Day 0 tutorial]]
If you are confused by these steps, go back and refresh your memory with the [[Community Data Science Workshops (Spring 2015)/Day 0 setup and tutorial|Day 0 setup and tutorial]] and [[Community Data Science Workshops (Spring 2015)/Day 0 tutorial|Day 0 tutorial]]


(Estimated time: 10 minutes)
(Estimated time: 10 minutes)
Line 27: Line 27:


=== Example questions ===
=== Example questions ===
* What Seattle neighborhood has the most art galleries? - [http://jtmorgan.net/cdsw/neighborhood_culture1.py neighborhood_culture1.py]
* What Seattle neighborhood has the most art galleries?
* What Seattle neighborhood has the most square feet devoted to arts & culture? - [http://jtmorgan.net/cdsw/neighborhood_culture2.py neighborhood_culture2.py]
* What Seattle neighborhood has the most square feet devoted to arts & culture?
* Which trail gets more bike traffic per month--the [[w:Burke-Gilman_Trail|Burke Gilman]] or the [[w:Mountains_to_Sound_Greenway|Mountain to Sound Trail]]?  - [http://jtmorgan.net/cdsw/traffic_counter1.py traffic_counter1.py], [http://jtmorgan.net/cdsw/traffic_counter2.py traffic_counter2.py]
* Which trail gets more bike traffic per month--the [[w:Mountains_to_Sound_Greenway|Mountain to Sound Trail]] or the [[w:Burke-Gilman_Trail|Burke Gilman]]?
* Do people use the trails less when it's cold? [http://jtmorgan.net/cdsw/monthly_weather.py monthly_weather.py]
* What day of the week does the Burke Gilman have the most total traffic? What day has the most pedestrian traffic? What ''time of day'' has the most southbound traffic, on average?
* Does the Burke-Gilman get more bike or pedestrian traffic? [http://jtmorgan.net/cdsw/bike_and_peds1.py bike_and_peds1.py]
* What is the primary commute direction on the Burke Gilman? [http://jtmorgan.net/cdsw/bike_and_peds1.py bike_and_peds2.py]
 
;Other example questions
* What day of the week does the Burke Gilman have the most total traffic?  
* What day has the most pedestrian traffic?  
* What ''time of day'' has the most southbound traffic, on average?
* How many shoplifting calls has SPD responded to this month so far?


=== Resources ===
=== Resources ===
* [https://www.hurl.it API Sandbox]
* [https://www.hurl.it API Sandbox]
* [http://web6.seattle.gov/mnm/ API-powered app]
* [http://web6.seattle.gov/mnm/ API-powered app]
[http://dev.socrata.com/consumers/getting-started.html API resources]
[http://dev.socrata.com/consumers/getting-started.htm API resources]
*[http://dev.socrata.com/docs/filtering.html filtering results]
*[http://dev.socrata.com/docs/filtering.html filtering results]
*[http://dev.socrata.com/docs/datatypes/timestamp.html dealing with timestamps]
*[http://dev.socrata.com/docs/datatypes/timestamp.html dealing with timestamps]
*[http://dev.socrata.com/docs/queries.html writing API queries]
*http://dev.socrata.com/docs/queries.html writing API queries]


;Datasets
;Datasets
Line 65: Line 57:
* https://data.cityofchicago.org/
* https://data.cityofchicago.org/
* https://data.cityofnewyork.us/
* https://data.cityofnewyork.us/
[[Category:Spring_2015_series]]
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)