<?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>transportation &#8211; ilari.scheinin.fi</title>
	<atom:link href="https://ilari.scheinin.fi/category/transportation/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>Boat trips and weather observations</title>
		<link>https://ilari.scheinin.fi/boat-trips-and-weather-observations/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Thu, 20 Oct 2016 17:03:56 +0000</pubDate>
				<category><![CDATA[R]]></category>
		<category><![CDATA[sailing]]></category>
		<category><![CDATA[transportation]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=602</guid>

					<description><![CDATA[Another boating season is over, so I updated the shiny app of my boat trips with another year&#8217;s worth of Moves app data. I also added weather and wave observations from the API of the Finnish Meteorological Institute. Clicking on &#8230; <a href="https://ilari.scheinin.fi/boat-trips-and-weather-observations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Another boating season is over, so I <a href="https://ilari.scheinin.fi/mapping-my-boat-trips/">updated</a> the shiny app of <a href="https://ilari.scheinin.fi/shiny/moves-boating/">my boat trips</a> with another year&#8217;s worth of Moves app data.</p>
<p>I also added weather and wave observations from the API of the <a href="http://en.ilmatieteenlaitos.fi">Finnish Meteorological Institute</a>. Clicking on a track brings up these details, provided the closest weather stations and wave buoys are within 30 nautical miles from the track. They are therefore only approximations, and can vary from the conditions actually experienced on the boat, depending on its location relative to the stations/buoys and nearby islands.</p>
<p>It should also be noted that the tracking accuracy of Moves is lower than that of proper chart plotters, which is only natural considering battery consumption. There are also clear errors when close to shore, as Moves has a tendency to place the location on known roads. Tracks and all values should therefore be taken with a grain of salt. </p>
<p><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/10/Screen-Shot-2016-10-20-at-19.53.39.png"><img loading="lazy" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/10/Screen-Shot-2016-10-20-at-19.53.39-1024x576.png" alt="screen-shot-2016-10-20-at-19-53-39" width="800" height="450" class="aligncenter size-large wp-image-605" srcset="https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/10/Screen-Shot-2016-10-20-at-19.53.39-1024x576.png 1024w, https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/10/Screen-Shot-2016-10-20-at-19.53.39-300x169.png 300w, https://cdn.ilari.scheinin.fi/wp-content/uploads/2016/10/Screen-Shot-2016-10-20-at-19.53.39-768x432.png 768w" sizes="(max-width: 800px) 100vw, 800px" /></a></p>
<p>The source code can be found on <a href="https://github.com/ilarischeinin/moves">GitHub</a>, and the app itself is <a href="https://ilari.scheinin.fi/shiny/moves-boating/">here</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<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>Where I&#8217;ve Been and How?</title>
		<link>https://ilari.scheinin.fi/where-ive-been-and-how/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Wed, 08 Jul 2015 12:24:44 +0000</pubDate>
				<category><![CDATA[cycling]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[transportation]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=401</guid>

					<description><![CDATA[I have been running the Moves app on my phone for almost two years. I guess its main idea is to be an activity tracker; it&#8217;ll tell you how much you&#8217;ve walked, ran, or ridden a bike, without you having &#8230; <a href="https://ilari.scheinin.fi/where-ive-been-and-how/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>I have been running the <a href="http://moves-app.com">Moves app</a> on my phone for almost two years. I guess its main idea is to be an activity tracker; it&#8217;ll tell you how much you&#8217;ve walked, ran, or ridden a bike, without you having to remember to turn it on before starting an &#8220;activity&#8221;. But for me the main point isn&#8217;t as much the activity part as it is the tracking part. Without me having to do anything, the app silently collects data about my movements in the background. I can then download the accumulated data and play around with it in R.</p>
<p>When I was at the <a href="https://www.recurse.com">Recurse Center</a>, I needed a little project to work on learning <a href="https://github.com/hadley/ggplot2">ggplot2</a> and <a href="https://github.com/rstudio/shiny">shiny</a>, and chose to do a remake of this old <a href="https://ilari.scheinin.fi/how-i-move/">blog post</a> on the shares of different modes of transportation I use. The end result is packaged into a <a href="https://ilari.scheinin.fi/shiny/moves-share/">shiny app</a>, and shows for example that in New York I walked a lot more than I used to while living in Amsterdam or Helsinki, and that last summer I spent a lot of time on boats. A more subtle difference is that in Amsterdam I seemed to use trams only for commuting to work.</p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/07/moves-share.png"><img loading="lazy" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/07/moves-share.png" alt="moves-share" width="900" height="360" class="alignnone size-medium wp-image-403" /></a></p>
<p>I also wanted to try out some mapping with <a href="https://github.com/rstudio/leaflet">leaflet</a>, and made another <a href="https://ilari.scheinin.fi/shiny/moves-nyc/">app</a> that shows all my movement while I was in New York. If all checkboxes are turned on, four months of data seems to be a bit much to handle performance-wise, and the app becomes slow and sometimes crashes (turns gray and stops responding). Anyways, it was a fun experiment to do.</p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/07/moves-nyc.png"><img loading="lazy" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2015/07/moves-nyc.png" alt="moves-nyc" width="1250" height="685" class="alignnone size-full wp-image-402" /></a></p>
<p>The source code is available on <a href="https://github.com/ilarischeinin/moves">GitHub</a>.</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>How I Move</title>
		<link>https://ilari.scheinin.fi/how-i-move/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Thu, 02 Oct 2014 09:22:44 +0000</pubDate>
				<category><![CDATA[cycling]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[transportation]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=345</guid>

					<description><![CDATA[With 12 full months of Moves data, I thought it would be a fun experiment to make some plots. These show how I move around in terms of time spent and distance traveled, both for relative share of each mode &#8230; <a href="https://ilari.scheinin.fi/how-i-move/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>With 12 full months of <a title="Moves" href="http://moves-app.com">Moves</a> data, I thought it would be a fun experiment to make some plots. These show how I move around in terms of time spent and distance traveled, both for relative share of each mode of transport, and for the total time or distance. Flying is excluded.</p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/duration-share.png"><img loading="lazy" class="alignnone size-medium wp-image-348" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/duration-share-300x212.png" alt="duration-share" width="300" height="212" /></a></p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/distance-share.png"><img loading="lazy" class="alignnone size-medium wp-image-346" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/distance-share-300x212.png" alt="distance-share" width="300" height="212" /></a></p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/duration-total.png"><img loading="lazy" class="alignnone size-medium wp-image-349" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/duration-total-300x212.png" alt="duration-total" width="300" height="212" /></a></p>
<p style="text-align: center;"><a href="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/distance-total.png"><img loading="lazy" class="alignnone size-medium wp-image-347 aligncenter" src="https://cdn.ilari.scheinin.fi/wp-content/uploads/2014/10/distance-total-300x212.png" alt="distance-total" width="300" height="212" /></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>Parking Is Hell</title>
		<link>https://ilari.scheinin.fi/parking-is-hell/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Thu, 14 Mar 2013 20:22:17 +0000</pubDate>
				<category><![CDATA[transportation]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=164</guid>

					<description><![CDATA[Parking Is Hell Everybody likes free parking, including me, probably you. But just because the driver doesn’t pay for it doesn’t mean that the cost goes away. If you don’t pay for parking your car, somebody else has to pay &#8230; <a href="https://ilari.scheinin.fi/parking-is-hell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://freakonomics.com/2013/03/13/parking-is-hell-a-new-freakonomics-radio-podcast/">Parking Is Hell</a></p>
<blockquote><p>Everybody likes free parking, including me, probably you. But just because the driver doesn’t pay for it doesn’t mean that the cost goes away. If you don’t pay for parking your car, somebody else has to pay for it. And that somebody is everybody. We pay for free parking in the prices of the goods we buy at places where the parking is free. And we pay for parking as residents when we get free parking with our housing. We pay for it as taxpayers. Increasingly, I think we’re paying for it in terms of the environmental harm that it causes.</p></blockquote>
<p>And:</p>
<blockquote><p>I did use data to estimate that parking subsidies in the United States are somewhere between 1 and 4 percent of the total GNP, which is about in the range of what we spend for Medicare or national defense. So that’s the cost of parking not paid for by drivers.</p></blockquote>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Why We Shouldn&#8217;t Bike with a Helmet</title>
		<link>https://ilari.scheinin.fi/why-we-shouldnt-bike-with-a-helmet/</link>
		
		<dc:creator><![CDATA[Ilari Scheinin]]></dc:creator>
		<pubDate>Sat, 15 Jan 2011 11:51:23 +0000</pubDate>
				<category><![CDATA[perspective]]></category>
		<category><![CDATA[transportation]]></category>
		<guid isPermaLink="false">http://ilari.scheinin.fi/?p=220</guid>

					<description><![CDATA[Perspective.]]></description>
										<content:encoded><![CDATA[<p><iframe loading="lazy" width="560" height="315" src="//www.youtube-nocookie.com/embed/07o-TASvIxY" frameborder="0" allowfullscreen></iframe></p>
<p>Perspective.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 42/135 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.ilari.scheinin.fi
Database Caching 1/18 queries in 0.011 seconds using Disk

Served from: ilari.scheinin.fi @ 2025-02-02 02:13:52 by W3 Total Cache
-->