{"id":14455,"date":"2019-11-26T15:29:29","date_gmt":"2019-11-26T15:29:29","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=14455"},"modified":"2019-11-26T21:50:00","modified_gmt":"2019-11-26T21:50:00","slug":"tour-de-france-average-speed","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2019\/11\/tour-de-france-average-speed\/","title":{"rendered":"Tour de France average speed"},"content":{"rendered":"<p>Using the new <a href=\"https:\/\/www.r-bloggers.com\/visualising-tour-de-france-data-in-r\/\">TdT R package<\/a>, I have re done the speed plot<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nlibrary(remotes)\r\ninstall_github(&quot;alastairrushworth\/tdf&quot;)\r\nlibrary(tdf)\r\neditions %&gt;%\r\n  ggplot(aes(x = start_date, y = distance \/ time_overall, color = edition)) +\r\n  geom_point(na.rm = TRUE,size=4) + \r\n  geom_label_repel(data = editions, aes(label = winner_name), size = 4, na.rm = TRUE, segment.alpha = 1, point.padding=1) + \r\n  xlab('year') + \r\n  ylab('average speed km\/h') +\r\n  ylim(23,45)\r\n<\/pre>\n<figure id=\"attachment_14466\" aria-describedby=\"caption-attachment-14466\" style=\"width: 1500px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/11\/Rplot-4.png\" data-rel=\"key-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-14466 size-full\" src=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/11\/Rplot-4.png\" alt=\"\" width=\"1500\" height=\"1000\" srcset=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/11\/Rplot-4.png 1500w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/11\/Rplot-4-620x413.png 620w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/11\/Rplot-4-750x500.png 750w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/11\/Rplot-4-768x512.png 768w\" sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><figcaption id=\"caption-attachment-14466\" class=\"wp-caption-text\">click to increase Tour de France average speed by year<\/figcaption><\/figure>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 27.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>Using the new TdT R package, I have re done the speed plot library(remotes) install_github(&quot;alastairrushworth\/tdf&quot;) library(tdf) editions %&gt;% ggplot(aes(x = start_date, y = distance \/ time_overall, color = edition)) + geom_point(na.rm = TRUE,size=4) + geom_label_repel(data = editions, aes(label = winner_name), size = 4, na.rm = TRUE, segment.alpha = 1, point.padding=1) + xlab(&#8216;year&#8217;) + ylab(&#8216;average speed &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2019\/11\/tour-de-france-average-speed\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Tour de France average speed<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-14455","post","type-post","status-publish","format-standard","hentry","category-joke-fun"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/14455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=14455"}],"version-history":[{"count":6,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/14455\/revisions"}],"predecessor-version":[{"id":14468,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/14455\/revisions\/14468"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=14455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=14455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=14455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}