Publications by Swimming + Data Science

High School Swimming State-Off Tournament California (1) vs. Pennsylvania (5)

09.09.2020

Here we have it, the last meet of the State-Off semi-final round, where California (1) takes on the Cinderella story that is Pennsylvania (5) for a trip to the finals. Don’t forget to update your version of SwimmeR to 0.4.1, because we’ll be using some newly released functions. We’ll also do some more plotting/data-vis and use prop.test to ...

5990 sym R (9468 sym/18 pcs) 4 img 11 tbl

High School Swimming State-Off Tournament Championship California (1) vs. Texas (2)

16.09.2020

This is it folks, the big one, the finals of the State-Off Tournament, where we’ll see California (1) take on Texas (2) for high school swimming superiority. We’ll also use a t-test to determine whether or not swimmers actually swim faster in finals sessions, when the pressure is on. Oh and it’s so on! library(SwimmeR) library(dplyr) librar...

8178 sym R (6840 sym/16 pcs) 8 img 7 tbl

High School Swimming State Off Tournament Conclusion and Battle Royale

23.09.2020

Welcome to the final post in the State-Off Tournament series. This will be a battle royale meet, with each of the 8 State-Off states competing against all the others at once (or in swimming terms, this is an invitational style meet). We’ll also reexamine the seeding assumptions from the beginning of the State-Off and discuss how Pearson’s and...

10819 sym R (9356 sym/23 pcs) 6 img 9 tbl

Where Are All The 10s – Diving Math

30.09.2020

Welcome to another case study here at Swimming + Data Science. We’re returning the world of diving, a place we’ve visited before, in an attempt to answer the question “where are all the 10s?” Today’s data science component will consist of matching calculated values to sets of allowed solutions, plus some tidyverse style data wrangling a...

10089 sym R (5696 sym/12 pcs) 8 img

New International Swimming League Season – New Version(s) of SwimmeR

19.10.2020

Welcome back to Swimming + Data Science friends. Last week something exciting happened – two things actually! First, the International Swimming League kicked off its 2020 season in Budapest. Second, and directly related, I released version 0.5.0 of SwimmeR to CRAN with functions to read ISL results from the inaugural 2019 season and from the ne...

4316 sym R (1818 sym/8 pcs) 2 img 3 tbl

A CRAN Downloads Experiment

27.10.2020

I’ve done an experiment regarding package downloads from CRAN (or the RStudio CRAN mirror at least) and now it’s time to share the results. library(dplyr) library(ggplot2) library(purrr) library(dlstats) library(flextable) flextable_style <- function(x) { x %>% flextable() %>% bold(part = "header") %>% # bold header bg(bg = "#D...

5383 sym R (3184 sym/6 pcs) 8 img 1 tbl

Scrapping Websites and Building a Large Dataset with SwimmeR

09.11.2020

Today we’re going to use SwimmeR to build a large database of results – that’s the overall goal. Having a more specific goal in mind can be useful though, so here goes. My wife is a college administrator. It’s part of her job to keep up on what Kids These Days (TM) are doing and one thing they’re apparently doing is getting participatio...

13592 sym R (7958 sym/21 pcs) 7 tbl

Tidy Troubles and SwimmeR does the Splits – v0.6.0

22.11.2020

If you’re only going to read one line of this post let it be this one: v0.6.0 of SwimmeR is now available from CRAN and it’s better now than ever before. But don’t just stop at one line though, grab that update and come along on this journey, deep into the heart of SwimmeR. library(SwimmeR) library(dplyr) library(stringr) library(flextable)...

10413 sym R (2488 sym/7 pcs) 6 img 6 tbl

Dataset of All ISL Results Season 1 and 2

30.11.2020

The second ISL season wrapped up a couple of weeks ago, meaning that now we’re in the off-season. I loved watching the CBC’s coverage of the ISL. The races were exciting, the swimmers seemed like they were having a great time, they were absolutely swimming great times. My other sporting love is the NBA and I massively enjoyed the games in the...

11900 sym R (6108 sym/13 pcs) 8 img