{"id":1693,"date":"2020-05-04T01:25:37","date_gmt":"2020-05-04T01:25:37","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=1693"},"modified":"2020-07-01T16:43:17","modified_gmt":"2020-07-01T16:43:17","slug":"tidyx-episode-8-lines-traces","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-episode-8-lines-traces\/","title":{"rendered":"TidyX Episode 8: Lines &#038; Traces"},"content":{"rendered":"<p>This week, <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/span> and I discuss plotting lines for a single group with grey traced lines in the background representing the rest of the population.<\/p>\n<p>First, with data provided by the <a href=\"https:\/\/github.com\/rfordatascience\/tidytuesday\"><span style=\"color: #0000ff;\">TidyTuesday Project<\/span><\/a>, we go over how <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/jakekaupp\">Jake Kaupp<\/a><\/span> used this approach to visualize some of the top grossing Broadway shows over the past couple decades.<\/p>\n<p>Then, we apply this same approach to historic NBA data to show how different teams have trended in a variety of game statistics and produce a plot like this:<\/p>\n<p><a href=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/05\/EXIh9zSU4AA3nH3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1694\" src=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/05\/EXIh9zSU4AA3nH3-819x1024.png\" alt=\"\" width=\"625\" height=\"781\" srcset=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/05\/EXIh9zSU4AA3nH3-819x1024.png 819w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/05\/EXIh9zSU4AA3nH3-240x300.png 240w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/05\/EXIh9zSU4AA3nH3-768x960.png 768w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/05\/EXIh9zSU4AA3nH3-624x780.png 624w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>To watch our screen cast, <a href=\"https:\/\/www.youtube.com\/watch?v=wyOrUsIEg1M&amp;feature=youtu.be\"><span style=\"color: #0000ff;\">CLICK HERE<\/span><\/a>.<\/p>\n<p>To access our code, <a href=\"https:\/\/github.com\/thebioengineer\/TidyX\/tree\/master\/TidyTuesday_Explained\/008-Line_Traces_and_NBA_Teams\"><span style=\"color: #0000ff;\">CLICK HERE<\/span><\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, Ellis Hughes and I discuss plotting lines for a single group with grey traced lines in the background representing the rest of the population. First, with data provided by the TidyTuesday Project, we go over how Jake Kaupp used this approach to visualize some of the top grossing Broadway shows over the past [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-1693","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/comments?post=1693"}],"version-history":[{"count":2,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1693\/revisions"}],"predecessor-version":[{"id":1699,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1693\/revisions\/1699"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=1693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=1693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=1693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}