{"id":803,"date":"2022-10-18T14:48:34","date_gmt":"2022-10-18T11:48:34","guid":{"rendered":"http:\/\/tuijasonkkila.fi\/?p=803"},"modified":"2024-09-20T13:20:05","modified_gmt":"2024-09-20T10:20:05","slug":"directions-of-streets-in-helsinki","status":"publish","type":"post","link":"https:\/\/tuijasonkkila.fi\/?p=803","title":{"rendered":"Directions of streets in Helsinki"},"content":{"rendered":"\n<p><a href=\"https:\/\/ttso.shinyapps.io\/hkidistricts\/\">A Shiny app<\/a> that shows the orientation of the streets of Helsinki by district, and of the whole city. Data comes from <a href=\"https:\/\/hri.fi\/data\/en_GB\/dataset\/helsingin-kaupungin-yleisten-alueiden-rekisteri\">Register of public areas in the City of Helsinki<\/a>. <\/p>\n\n\n\n<p>The whole exercise might seem a little silly (and probably is too) but if anything, it made me realize e.g. how the district of Viikki looks like a galloping horse when you look at its streets from this perspective.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"514\" src=\"https:\/\/tuijasonkkila.fi\/wp-content\/uploads\/2022\/10\/Capture-1024x514.png\" alt=\"\" class=\"wp-image-804\" srcset=\"https:\/\/tuijasonkkila.fi\/wp-content\/uploads\/2022\/10\/Capture-1024x514.png 1024w, https:\/\/tuijasonkkila.fi\/wp-content\/uploads\/2022\/10\/Capture-300x151.png 300w, https:\/\/tuijasonkkila.fi\/wp-content\/uploads\/2022\/10\/Capture-768x386.png 768w, https:\/\/tuijasonkkila.fi\/wp-content\/uploads\/2022\/10\/Capture-624x313.png 624w, https:\/\/tuijasonkkila.fi\/wp-content\/uploads\/2022\/10\/Capture.png 1889w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Having done that, I used the Python library <a href=\"https:\/\/github.com\/gboeing\/osmnx\">OSMnx<\/a> to plot polar histograms. Here is a <a href=\"https:\/\/github.com\/tts\/hkidistricts\/blob\/main\/streets.md\">notebook <\/a>where I tell how it went, and why Pasila is not where it should be.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/github.com\/tts\/hkidistricts\/raw\/main\/districts.png\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>A Shiny app that shows the orientation of the streets of Helsinki by district, and of the whole city. Data comes from Register of public areas in the City of Helsinki. The whole exercise might seem a little silly (and probably is too) but if anything, it made me realize e.g. how the district of &hellip; <a href=\"https:\/\/tuijasonkkila.fi\/?p=803\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Directions of streets in Helsinki<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[113,126,99,7],"class_list":["post-803","post","type-post","status-publish","format-standard","hentry","category-diverse-coding","tag-helsinki","tag-osm","tag-python","tag-shiny"],"_links":{"self":[{"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=\/wp\/v2\/posts\/803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=803"}],"version-history":[{"count":4,"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=\/wp\/v2\/posts\/803\/revisions"}],"predecessor-version":[{"id":986,"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=\/wp\/v2\/posts\/803\/revisions\/986"}],"wp:attachment":[{"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tuijasonkkila.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}