Editing Seattle open data

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 61: Line 61:
== Analyzing traffic on the Burke-Gilman trail ==
== Analyzing traffic on the Burke-Gilman trail ==
[[File:Bgt_bikes_and_peds_2019.png|thumb|right|250px|In this session we'll learn how to analyze and transform data about traffic on the Burke-Gilman trail over time, and create useful timeseries visualizations like this one!]]
[[File:Bgt_bikes_and_peds_2019.png|thumb|right|250px|In this session we'll learn how to analyze and transform data about traffic on the Burke-Gilman trail over time, and create useful timeseries visualizations like this one!]]
We will spend the first part of the session today walking through the included notebook <tt>Burke-Gilman_commuter_traffic.ipynb</tt>. We will be reproducing this notebook section by section, coding as we go, until we culminate in exporting a CSV file that can be used to build the timeseries visualization above.
We will spend the first part of the session today walking through the included notebook <tt>Burke-Gilman_commuter_traffic.ipynb</tt>. We will be reproducing this notebook section by section, coding as we go, until culminate in exporting a CSV file that can be used to build the timeseries visualization above.


After that, you'll have time to explore next steps on your own, either tackling the "Challenge questions" below, exploring the capabilities of the SODA API, or asking your own research questions with any of the other datasets on data.seattle.gov!
After that, you'll have time to explore next steps on your own, either tackling the "Challenge questions" below, exploring the capabilities of the SODA API, or asking your own research questions with any of the other datasets on data.seattle.gov!
Line 68: Line 68:
# How many people used the Burke Gilman during commute hours in 2019?
# How many people used the Burke Gilman during commute hours in 2019?
# What were the busiest hours on the Burke Gilman in 2019?
# What were the busiest hours on the Burke Gilman in 2019?
# What are the busiest hours for bikes vs pedestrians?
# What is the busiest hours for bikes vs pedestrians?
# What are the busiest hours for bikes vs. peds AND northbound vs. southbound?
# What is the busiest hour for bikes vs. peds AND northbound vs. southbound?


=== Challenge questions to apply what you've learned ===
=== Challenge questions to apply what you've learned ===
Line 81: Line 81:


== SODA API tutorial ==
== SODA API tutorial ==
The included notebook <tt>SODA_API_demo.ipynb</tt> can help you familiarize yourself with the [https://dev.socrata.com/ Socrata Open Data API] (which is used on data.seattle.gov). This API allows you to write powerful queries to get exactly the data you want from any of these Seattle Open Data portal sites (as well as any other site that uses the SODA API!). If you'd like to spend more time in the session practicing with this API, grab a mentor!
The included notebook <tt>SODA_API_demo.ipynb</tt> can help you familiarize yourself with the Socrata Open Data API (which is used on data.seattle.gov). This API allows you to write powerful queries to get exactly the data you want from any of these Seattle Open Data portal sites (as well as any other site that uses the SODA API!). If you'd like to spend more time in the session practicing with this API, grab a mentor!


=== Data sources that use this API ===
* https://data.medicare.gov/
* https://opendata.cityofnewyork.us/
* https://data.cityofchicago.org/
* Most (all?) of the sites listed at https://www.opendatanetwork.com/


== Other open Seattle datasets to explore ==
== Other open Seattle datasets to explore ==
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)