<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>urban &#8211; ilari.scheinin.fi</title>
	<atom:link href="https://ilari.scheinin.fi/category/urban/feed/" rel="self" type="application/rss+xml" />
	<link>https://ilari.scheinin.fi</link>
	<description></description>
	<lastBuildDate>Wed, 17 May 2017 09:49:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.9</generator>
	<item>
		<title>Snowplows of Helsinki</title>
		<link>https://ilari.scheinin.fi/snowplows-of-helsinki/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Sun, 07 Feb 2016 12:30:33 +0000</pubDate>
				<category><![CDATA[R]]></category>
		<category><![CDATA[transportation]]></category>
		<category><![CDATA[urban]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=523</guid>

					<description><![CDATA[As part of the Helsinki Region Infoshare initiative, the city of Helsinki provides an API that shows the locations, routes, and activities of snowplows that are operated by its service provider Stara. Using that API, Sampsa Kuronen created Aurat kartalla, &#8230; <a href="https://ilari.scheinin.fi/snowplows-of-helsinki/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>As part of the <a href="http://www.hri.fi/en/">Helsinki Region Infoshare</a> initiative, the city of Helsinki provides an <a href="http://dev.hel.fi/apis/snowplows/">API</a> that shows the locations, routes, and activities of snowplows that are operated by its service provider <a href="http://www.hel.fi/hki/Rakpa/en/Etusivu">Stara</a>.</p>
<p>Using that API, <a href="https://twitter.com/sampsakuronen">Sampsa Kuronen</a> created <a href="http://www.auratkartalla.com">Aurat kartalla</a>, which is a beautiful visualization of the real-time data. It allows you to specify a time interval, and shows different activities (snow removal, spreading sand, de-icing with salt, etc) with different colors.</p>
<p>I decided to try my own version with <a href="http://shiny.rstudio.com">shiny</a>, for a couple of reasons:</p>
<ol>
<li> In addition to identifying different activities, the API also includes a flag specifying &#8220;bicycle and pedestrian lanes&#8221;. Aurat kartalla always shows them with the same color, therefore not distinguishing between e.g. spreading sand and de-icing with salt. Although I personally don&#8217;t really mind that much, for some cyclists this is important information. Many have suffered flat tires because of the sand, and many feel that the salt rusts their bikes.</li>
<li>Outside bicycle and pedestrian lanes, Aurat kartalla does show the different activities with different colors. But when there are multiple activities performed on the same route, it can be difficult to tell them apart.</li>
<li>I had never created a shiny app that polls an external API and automatically updates its data, so it was simply an interesting experiment.</li>
</ol>
<p>Here are links to the resulting <a href="https://ilari.scheinin.fi/shiny/plows/">shiny app</a> and its <a href="https://github.com/ilarischeinin/plows-from-hel">source code</a> on GitHub.</p>
<p><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/02/Screen-Shot-2016-02-03-at-14.50.53.png" rel="attachment wp-att-533"><img loading="lazy" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/02/Screen-Shot-2016-02-03-at-14.50.53-1024x584.png" alt="Screen Shot 2016-02-03 at 14.50.53" width="800" height="456" class="aligncenter size-large wp-image-533" srcset="https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/02/Screen-Shot-2016-02-03-at-14.50.53-1024x584.png 1024w, https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/02/Screen-Shot-2016-02-03-at-14.50.53-300x171.png 300w, https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/02/Screen-Shot-2016-02-03-at-14.50.53-768x438.png 768w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>As my goal was to provide granular control to really check what activities had been performed along a specific route, at first I included a separate setting to distinguish between streets and bicycle/pedestrian lanes. However, after looking at the results on a couple of snowy days, I noticed that this flag wasn&#8217;t really that reliable. Exact same routes were plowed both with and without it.</p>
<p>I can think of two possible explanations. The first one is that the flag really just specifies the equipment used, and some plows are marked for bicycle/pedestrian lanes, while others are not. And that in reality, both can also operate outside these target routes. The second one is that the presence of the flag relies on the plow driver explicitly specifying when they are plowing a bicycle/pedestrian lane, and that this is simply often forgotten (as, to be honest, I would expect to happen in reality).</p>
<p>Therefore, I removed the separation between streets and bicycle/pedestrian lanes, and instead show both at the same time. But the main point is still to be able to unambiguously distinguish between the different activities that have been performed. However, this goal suffers a bit from the fact that the API doesn&#8217;t actually contain all of the plows in use, so there is no way to tell for sure whether something has <em>not</em> been performed.</p>
<p>Nevertheless, it was a fun experiment. And in any case, I think <a href="http://www.auratkartalla.com">Aurat kartalla</a> provides a more beautiful overall visualization of the same data, and with better performance.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Citi Bikes and Neighborhoods</title>
		<link>https://ilari.scheinin.fi/citi-bikes-and-neighborhoods/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Wed, 08 Jul 2015 12:24:13 +0000</pubDate>
				<category><![CDATA[cycling]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[transportation]]></category>
		<category><![CDATA[urban]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=387</guid>

					<description><![CDATA[New York City has an excellent bike sharing system called Citi Bikes. When I was at the Recurse Center, I frequently used the bikes for commuting. What was annoying though, was that every now and then all the nearby docks &#8230; <a href="https://ilari.scheinin.fi/citi-bikes-and-neighborhoods/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>New York City has an excellent bike sharing system called <a href="http://www.citibikenyc.com">Citi Bikes</a>. When I was at the <a href="https://www.recurse.com">Recurse Center</a>, I frequently used the bikes for commuting. What was annoying though, was that every now and then all the nearby docks were empty by the time I was leaving. I guess this was because it was mostly a residential area, so in the mornings people would grab the bikes and ride them to work, and in the evenings the bikes would flow back. A business district would naturally see the opposite pattern. (I know the operators rebalance bikes between stations, but I don&#8217;t know if this happens intra-day or just to correct slower drift patterns.)</p>
<p>In addition to being a convenient way to move around, another nice thing about the system is that they release their <a href="http://www.citibikenyc.com/system-data">ride data</a> publicly. I decided do a little experiment in R. I downloaded all their data and used <a href="https://github.com/hadley/dplyr">dplyr</a> to count the number of bikes arriving to and leaving from each station. I did that for each hour of the day and separately for weekdays and weekends.</p>
<p>In order to visualize the patterns, I plotted them with <a href="https://github.com/dkahle/ggmap">ggmap</a> and made a little <a href="https://github.com/rstudio/shiny">shiny</a> <a href="https://ilari.scheinin.fi/shiny/citibike-flow/">app</a>.</p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/06/flow.png"><img loading="lazy" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/06/flow.png" alt="flow" width="850" height="510" class="alignnone size-full wp-image-388" /></a></p>
<p>To identify neighborhoods with similar usage patterns, I used K-means clustering and put the results in another shiny <a href="https://ilari.scheinin.fi/shiny/citibike-neighborhoods/">app</a>. It also contains a plot of the variance explained for assessing a suitable value for K.</p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/06/neighborhoods.png"><img loading="lazy" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/06/neighborhoods.png" alt="neighborhoods" width="600" height="438" class="alignnone size-medium wp-image-389" /></a></p>
<p>The source code is available on <a href="https://github.com/ilarischeinin/citibikes">GitHub</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Zipcar, Uber And The Beginning Of Trouble For The Auto Industry</title>
		<link>https://ilari.scheinin.fi/zipcar-uber-and-the-beginning-of-trouble-for-the-auto-industry/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Wed, 12 Feb 2014 08:07:27 +0000</pubDate>
				<category><![CDATA[transportation]]></category>
		<category><![CDATA[urban]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=35</guid>

					<description><![CDATA[Zipcar, Uber And The Beginning Of Trouble For The Auto Industry First, there has been an increasing move back toward the cities, where transit is more readily available. Second, millennials seem especially uninterested in owning their own cars. Third, the &#8230; <a href="https://ilari.scheinin.fi/zipcar-uber-and-the-beginning-of-trouble-for-the-auto-industry/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.forbes.com/sites/markrogowsky/2014/02/08/viral-marketing-car-sharing-apps-are-beginning-to-infect-auto-sales/" title="Zipcar, Uber And The Beginning Of Trouble For The Auto Industry">Zipcar, Uber And The Beginning Of Trouble For The Auto Industry</a></p>
<blockquote><p>First, there has been an increasing move back toward the cities, where transit is more readily available. Second, millennials seem especially uninterested in owning their own cars. Third, the trend away from driving actually dates back to 2004, when the economy was still thriving. A government measure called “per capita vehicle miles traveled,” which had gone up steadily for decades began trending down that year and has fallen ever since. After 8 consecutive years of declines, on average we’re driving as much as we did in 1996.</p></blockquote>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Triumph of the City</title>
		<link>https://ilari.scheinin.fi/triumph-of-the-city/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Tue, 17 Sep 2013 15:00:21 +0000</pubDate>
				<category><![CDATA[literature]]></category>
		<category><![CDATA[urban]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=142</guid>

					<description><![CDATA[Triumph of the City A book I highly recommend not only to those interesting in urban life and politics, but also to those who want to help people in developing countries, and especially to those concerned about the environment and &#8230; <a href="https://ilari.scheinin.fi/triumph-of-the-city/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.amazon.com/gp/product/B0049U4HTW/ref=as_li_ss_tl?ie=UTF8&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0049U4HTW&#038;linkCode=as2&#038;tag=ilarischeinin-20">Triumph of the City</a></p>
<p>A book I highly recommend not only to those interesting in urban life and politics, but also to those who want to help people in developing countries, and especially to those concerned about the environment and climate change. We shouldn&#8217;t let the developing countries to not learn from our mistakes.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Stranded by Sprawl</title>
		<link>https://ilari.scheinin.fi/stranded-by-sprawl/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Tue, 30 Jul 2013 14:07:48 +0000</pubDate>
				<category><![CDATA[urban]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=150</guid>

					<description><![CDATA[Stranded by Sprawl Cities are supposed to be dense.]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.nytimes.com/2013/07/29/opinion/krugman-stranded-by-sprawl.html?hp&#038;_r=2&#038;">Stranded by Sprawl</a></p>
<p>Cities are supposed to be dense.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 9/143 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.ilari.scheinin.fi
Database Caching using Disk

Served from: ilari.scheinin.fi @ 2025-02-02 02:11:55 by W3 Total Cache
-->