{"id":1879,"date":"2020-10-25T22:06:03","date_gmt":"2020-10-25T22:06:03","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=1879"},"modified":"2020-10-26T13:36:29","modified_gmt":"2020-10-26T13:36:29","slug":"tidyx-33-beer-web-scraping-and-state-maps","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-33-beer-web-scraping-and-state-maps\/","title":{"rendered":"TidyX 33: Beer, Web Scraping, and State Maps"},"content":{"rendered":"<p>This week, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and I discuss a <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/rfordatascience\/tidytuesday\/blob\/master\/data\/2020\/2020-10-06\/readme.md\">TidyTuesday<\/a><\/span><\/strong> submission from <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/rbamattre\">Richard Bamattre<\/a><\/span><\/strong>. Richard visualized craft beers by state using the {statebins} package. This approach produces a very clean method of displaying data across the USA.<\/p>\n<p>We follow up our discussion of Richard&#8217;s R code by giving a short web scraping tutorial to acquire more data about beer production across the USA and then create our own state map visualization.<\/p>\n<p>To watch our screen cast, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=j0gj438orbs&amp;feature=youtu.be\">CLICK HERE<\/a><\/strong><\/span>.<\/p>\n<p>To access our code, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\/tree\/master\/TidyTuesday_Explained\/033-Beer_and_State_Maps\">CLICK HERE<\/a><\/strong><\/span>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, Ellis Hughes and I discuss a TidyTuesday submission from Richard Bamattre. Richard visualized craft beers by state using the {statebins} package. This approach produces a very clean method of displaying data across the USA. We follow up our discussion of Richard&#8217;s R code by giving a short web scraping tutorial to acquire more [&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-1879","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1879","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=1879"}],"version-history":[{"count":1,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1879\/revisions"}],"predecessor-version":[{"id":1880,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1879\/revisions\/1880"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=1879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=1879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=1879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}