{"id":1843,"date":"2020-09-13T23:02:11","date_gmt":"2020-09-13T23:02:11","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=1843"},"modified":"2020-09-14T13:22:45","modified_gmt":"2020-09-14T13:22:45","slug":"tidyx-27-shiny-apps-part-2-adding-tabs-and-improving-ui","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-27-shiny-apps-part-2-adding-tabs-and-improving-ui\/","title":{"rendered":"TidyX 27: Shiny Apps Part 2 &#8211; Adding Tabs and Improving UI"},"content":{"rendered":"<p><span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and I start by discussing a really cool script for developing line plots by <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/jessenleon\/status\/1304126641719869440\">Leon Eyrich Jessen.<\/a><\/span><\/strong> Leon created these plots for analyzing data from the <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/rfordatascience\/tidytuesday\">TidyTuesday Project<\/a><\/span><\/strong> on the famous television show Friends.<\/p>\n<p>We then continue our discussion of {<span style=\"color: #0000ff;\"><strong>shiny<\/strong><\/span>} web apps by showing you how to add tab panels so that you can have different pages of information within the same app and improve the user interface experience.<\/p>\n<p>We extend our app from <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/optimumsportsperformance.com\/blog\/tidyx-26-shiny-apps-part-1-creating-an-nba-dashboard\/\">last week<\/a><\/span><\/strong> by adding a tab panel consisting of line plots for evaluating career comparisons between players in the Value Over Replacement Player (VORP) statistic.<\/p>\n<p><a href=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-13-at-3.52.19-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1844\" src=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-13-at-3.52.19-PM-953x1024.png\" alt=\"\" width=\"625\" height=\"672\" srcset=\"https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-13-at-3.52.19-PM-953x1024.png 953w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-13-at-3.52.19-PM-279x300.png 279w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-13-at-3.52.19-PM-768x825.png 768w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-13-at-3.52.19-PM-624x671.png 624w, https:\/\/optimumsportsperformance.com\/blog\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-13-at-3.52.19-PM.png 1340w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>To watch the screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=ze2spg3LcxU&amp;feature=youtu.be\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n<p>To access our code, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ellis Hughes and I start by discussing a really cool script for developing line plots by Leon Eyrich Jessen. Leon created these plots for analyzing data from the TidyTuesday Project on the famous television show Friends. We then continue our discussion of {shiny} web apps by showing you how to add tab panels so that [&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-1843","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1843","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=1843"}],"version-history":[{"count":3,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1843\/revisions"}],"predecessor-version":[{"id":1847,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1843\/revisions\/1847"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=1843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=1843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=1843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}