Category Archives: TidyX Screen Cast

TidyX Episode 112: s3 objects part 3 – building a sports tournament simulation

After a few weeks break, Ellis Hughes and I are back with our third and final installment of s3 objects (Part 1, Part 2). In this episode we complete our sports tournament simulation function and show it can be used to predict each successive round and move the winners across each match until an eventual winner is crowned.

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX Episode 111: Interview with Data Scientist Nate Latshaw

This week, Ellis Hughes and I have the pleasure of interview, Nate Latshaw. Nate is an extraordinary data scientist who does a ton of amazing public analysis on all of the UFC fights and shares his work freely on Twitter.

We start by having Nate take us through one of the UFC fighter plots he commonly presents. What’s exciting about this is that Nate uses some different R-packages that we haven’t touched on in the past 110 episodes. For instance, Nate tends to work more in {data.table} instead of {tidyverse} for all of his data manipulation needs. Additionally, to organize the figures and tables in his fighter report, he builds his tables in {ggtextable} and organizes everything with {ggpubr} into the report you see below. After Nate walks us through some code we have an interview talking about his background, how he got into data science, and his recommendations for how others can break into data science.

To watch the screen cast, CLICK HERE.

To access Nate’s code, CLICK HERE.

TidyX Episode 110: s3 objects part 2 – building a sports tournament simulation

Ellis Hughes and I continue our discussion from the last episode about s3 objects by showing a use case for them when storing the performance of teams across a sports league. We then call those team strength from within the s3 object across several functions that we’ve constructed to help us build match ups within a sports tournament (e.g., NCAA Basketball or Baseball tournament).

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX Episode 109: Making an s3 Object

This week, Ellis Hughes and I continue talking about objects in R by delving into s3 objects. s3 objects serve as the back drop for many R packages. They are simple to initialize, very flexible, and easily expandable. In this short episode we talk through creating s3 objects and their value and set stage for the next episode, where we use an s3 object to build a more involved sports simulation.

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.