TidyX 44: plotly, maps, & NBA travel

This week, Ellis Hughes and I discuss building maps in {plotly}.

First, we go through the code of Martin Devaux, who made a cool looking plot showing the evolution of public transit expansion costs around the world (data courtesy of TidyTuesday Project). The plot was really interesting and actually threw us for a loop as we initially thought we were looking at a true map! It wasn’t until we got into the code that we realized what was going on and that it wasn’t an actual map at all.

We then move into {plotly} to build a map of NBA travel. The data comes from the Jose Fernandez, who created a cool R package called {airball}.

 

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX 43: funnel plots, plotly & NHL Hockey

This week, Ellis Hughes and I continue our work in {plotly}. Using the same player shooting data that we used in TidyX 42, we build an interactive funnel plot to visualize player shooting% relative to sample size, allowing us to explore player’s abilities while acknowledging uncertainty in those who have taken less shots.

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX 42: plotly, shiny, & NHL Hockey

This week, Ellis Hughes and I begin by explaining code from Peter (@DataVizGuy_1648), who made a cool line plot for the Big Mac Index, which used colors to emphasizes the top 5 and bottom 5 countries for the price of a Big Mac, scaled to US Dollars, over time (data courtesy of TidyTuesday Project).

After that, we build on some of the work we did in TidyX 41, as we dive deeper into {plotly} and build an interactive NHL data visualization. We then take our {plotly} visualization and build it into a {shiny} app.

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX 41: Special Guest – Alice Sweeting

This week, Ellis Hughes and I are joined by Australian sports analyst, Dr. Alice Sweeting.

Alice wears many hats as an analyst with the Western Bulldogs (Australian Football League) and also doing her own research and supervising PhD students at Victoria University in Melbourne, Australia. She was nice enough to take some time out of her busy schedule to walk us through some code she was working on for a sport she is very passionate about, Netball.

Following the code review, we discuss a number of topics:

  1. How she got into sports analytics and her educational pathway.
  2. The types of projects she works on at the Western Bulldogs
  3. Her advice for those looking to get into sports analytics
  4. Her advice for those looking to start working in R and her recommendations for learning R

To watch the screen cast, CLICK HERE.

For Alice’s code from the show, CLICK HERE.

To check out Alice’s blog and see all her great scientific publications, CLICK HERE.