{"id":1564,"date":"2019-01-12T06:44:01","date_gmt":"2019-01-12T06:44:01","guid":{"rendered":"https:\/\/www.aiproblog.com\/index.php\/2019\/01\/12\/kicking-chicago-with-r\/"},"modified":"2019-01-12T06:44:01","modified_gmt":"2019-01-12T06:44:01","slug":"kicking-chicago-with-r","status":"publish","type":"post","link":"https:\/\/www.aiproblog.com\/index.php\/2019\/01\/12\/kicking-chicago-with-r\/","title":{"rendered":"Kicking Chicago with R."},"content":{"rendered":"<p>Author: steve miller<\/p>\n<div>\n<p><a href=\"https:\/\/storage.ning.com\/topology\/rest\/1.0\/file\/get\/726580180?profile=original\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/storage.ning.com\/topology\/rest\/1.0\/file\/get\/726580180?profile=RESIZE_710x\" class=\"align-full\"><\/a><\/p>\n<\/p>\n<p>Like most Chicago football fans, I was pretty distraught after the Bears lost last Sunday&#8217;s playoff game courtesy of a missed field goal at the end &#8212; a kick that first hit the goalpost and then the crossbar before ultimately failing miserably. While most local fans were grief-stricken like me, some were irrationally inconsolable, demanding the scalp, and worse, of the Chicago kicker.<\/p>\n<p>Ever the stats and randomness guy, I tried to talk my rabid friends off the ledge &#8212; with little success. The 40+ yard attempt was certainly not a gimme, even for the very best kickers, I opined. What if the gods had allowed the kick to bounce through; would the kicker have then been a hero? Why not blame the defense for allowing the late touchdown? Even with the final miss, the Bears kicker made 3 or 4 attempts for the game &#8212; certainly a credible day&#8217;s work. Would there be such venom if he&#8217;d missed the kick with 5 minutes left rather than 5 seconds? Alas, it seemed there was no convincing the hard core, especially regarding a guy who&#8217;ll almost assuredly not be with the team next year.<\/p>\n<p>The kicker hit on 77% of his attempts this season and has made 84% over his career. These numbers compare favorably with the much-beloved kicker of the Super Bowl-winning team of 1986. Indeed the 1986 kicker made just 50% of attempts in the 40-49 yard range that season, and only slightly more than 50% of such attempts for his career. So, he&#8217;d have been just 50-50 to make the same kick this year&#8217;s guy missed.<\/p>\n<p>Comparing kickers of different eras is tricky though. Performance and hence standards change over time. What was &#8220;par&#8221; 30 years ago may be bogey today.<\/p>\n<p>What&#8217;s a grief-stricken, data-driven Bears fan to do? Find data to analyze of course. It didn&#8217;t take long to get started.<span>\u00a0<\/span><a href=\"http:\/\/www.espn.com\/nfl\/statistics\/team\/_\/stat\/kicking\/year\/2018\/seasontype\/2\">ESPN<\/a><span>\u00a0<\/span>has clean field goal numbers from 2002-2018 by team and kick length category. Though I&#8217;d ultimately like to dig back even further in NFL history, I thought this&#8217;d be a convenient point of departure. The remainder of this article revolves on scraping and wrangling the ESPN data, followed by several visuals that show 17 year trends.<\/p>\n<p>For the analysis that follows, the technology used is JupyterLab 0.32.1 with Microsoft Open R 3.4.4. As always, the R work is driven by the data.table package and tidyverse ecosystem.<\/p>\n<p>Read the entire blog\u00a0<a href=\"https:\/\/storage.ning.com\/topology\/rest\/1.0\/file\/get\/726595179?profile=original\" target=\"_blank\" rel=\"noopener\">here.<\/a><\/p>\n<\/div>\n<p><a href=\"https:\/\/www.datasciencecentral.com\/xn\/detail\/6448529:BlogPost:792417\">Go to Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: steve miller Like most Chicago football fans, I was pretty distraught after the Bears lost last Sunday&#8217;s playoff game courtesy of a missed field [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/www.aiproblog.com\/index.php\/2019\/01\/12\/kicking-chicago-with-r\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":473,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[26],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1564"}],"collection":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=1564"}],"version-history":[{"count":0,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/1564\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media\/465"}],"wp:attachment":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=1564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=1564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=1564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}