Editing DS4UX (Spring 2016)/Seattle traffic

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 1: Line 1:
[[File:SeattleGovLogoHome.png|right|250px]]
How many people sue these trails?
 
== Daily bicycle and pedestrian traffic patterns on the Burke-Gilman trail ==
 
In this project, we will explore data gathered from [https://data.seattle.gov data.seattle.gov], an open data repository that contains a variety of interesting civic datasets. The dataset we are working with today is a count of traffic per hour on the Burke-Gilman trail at NE 70th street, broken down by bicycle and pedestrian traffic.
 
 
=== Goals ===
 
* Gain experience importing, parsing, and exporting large flat datafiles into Python
* Become more comfortable working with data stored in Python dictionaries — one of the most common (and powerful!) data structures for working with large research datasets.
* Practice reading and extending other people's code
* Start to think up ideas of what kind of analysis you might perform with data like this for your final project.




== Code and data ==
== Code and data ==


<font size="+1">[http://jtmorgan.net/ds4ux/week4/bgt-traffic.zip Click here to download today's project]</font>
This .zip archive contains the basic code for the project, and the datasets we'll be using. Save it to your desktop (or whatever directory you're using to store DS4UX code) and uncompress the folder.
=== Data files used in this project ===
You don't need to download these separately—they're already included in your .zip file.
*[https://data.seattle.gov/Transportation/Burke-Gilman-Trail-north-of-NE-70th-St-Bike-and-Pe/2z5v-ecg8 Burke-Gilman trail bike and pedestrian traffic counts] — this is our primary dataset, which we'll be using for all in class exercises and [[DS4UX_(Spring_2016)/Day_4_coding_challenge|coding challenges]].
*[https://data.seattle.gov/Transportation/MTS-Trail-west-of-I-90-Bridge/u38e-ybnc Mountain-to-Sounds trail bike and pedestrian traffic counts] — this is a 'bonus' dataset which you will need to complete the 'bonus' coding challenges.


== Ideas for analysis ==
== Ideas for analysis ==
We'll go over these in class. The solutions are included in your <code>bgt-traffic.zip</code> as the files <code>bike_and_ped_idea[1-3].py</code>


# How many people walked northbound on the BGT between 6 and 7 AM on August 28, 2014?
# How many people walked or rode northbound during April 1, 2015?
# Which hour during November 11, 2015 saw the most overall traffic?




== Coding challenges ==
== Coding challenges ==


The [[DS4UX_(Spring_2016)/Day_4_coding_challenge|Week 4 coding challenges]] are based on this project. Please note that Challenges 1-3 are required.
== Related resources ==
;Other interesting datasets from Data.Seattle.Gov
* [https://data.seattle.gov/Community/Seattle-Cultural-Space-Inventory/vsxr-aydq Seattle Cultural Space Inventory]
*[https://data.seattle.gov/Transportation/Road-Weather-Information-Stations/egc4-d24i Road temps in Seattle]
*[https://data.seattle.gov/Public-Safety/Seattle-Police-Department-911-Incident-Response/3k2p-39jp SPD 911 incident respose]


;Other Socrata sites with open datasets you can download
* https://data.austintexas.gov/
* https://data.cityofchicago.org/
* https://data.cityofnewyork.us/


[[Category:DS4UX (Spring 2016)]]
[[Category:DS4UX (Spring 2016)]]
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)