Community Data Science Workshops (Spring 2016)/Day 2 Projects/Socrata: Difference between revisions

From CommunityData
(mark as draft while I work)
No edit summary
Line 18: Line 18:
<div style="clear:both;"></div>
<div style="clear:both;"></div>


[[File:Socrata-square-color.png|right|250px]]
[[File:SeattleGovLogoHome.png|right|250px]]
[[File:SeattleGovLogoHome.png|right|250px]]
[[File:Socrata-square-color.png|right|100px]]
__NOTOC__
__NOTOC__
== Building a Dataset using the Socrata API and data.seattle.gov ==
== Building a Dataset using the Socrata API and data.seattle.gov ==

Revision as of 22:14, 22 April 2016

This page is a work in progress. This banner will be removed when the page is up-to-date.
Jtmorgan (talk) 15:13, 22 April 2016 (EDT)
SeattleGovLogoHome.png
Socrata-square-color.png


Building a Dataset using the Socrata API and data.seattle.gov

In this project, we will explore a few ways to gather data from data.seattle.gov using the Socrata API. Once we've done that, we will extend this to code to create our own datasets of civic data that we might be able to use to ask and answer questions in the final session.

Goals

  • Get set up to build datasets with the Socrata API
  • Have fun collecting different types of data from data.seattle.gov
  • Practice reading and extending other people's code
  • Create a few collections of different types of data from Socrata that you can do research with in the final workshop session

Download the Socrata project

Click here to download the Socrata scripts

If you are confused by these steps, go back and refresh your memory with the Day 0 setup and tutorial and Day 0 tutorial

(Estimated time: 10 minutes)

Topics to cover

  • explain Socrata open data platform, exists on other government websites
  • navigate to api page and show the documentation, point out examples
  • introduce the API sandbox as a tool for building queries

Example questions

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

API resources

Datasets
Videos
Other Socrata sites