Articles by Swimming + Data Science

A CRAN Downloads Experiment

October 27, 2020 | Swimming + Data Science

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 = "#D3D3D3", part = "header") %>% # puts gray background behind the header row
    align_nottext_col(align = "center", header = TRUE, footer = TRUE) %>% # center alignment
    autofit()
}
Introduction When the first version (0.0.1.0) of SwimmeR was released on CRAN in October of 2019 it had very few features - just a couple ...
[Read more...]

Where Are All The 10s – Diving Math

September 30, 2020 | Swimming + Data Science

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 ...
[Read more...]

High School Swimming State-Off Tournament Florida (3) vs. Illinois (6)

August 6, 2020 | Swimming + Data Science

This week in the High School Swimming State-Off Tournament we have the third seeded Sunshine State, Florida (3) taking on the sixth seeded Illinois (6) aka the Prairie State.
library(SwimmeR)
library(dplyr)
library(stringr)
library(purrr)
library(flextable)
Florida Results Florida has a nice results repository, with Hy-Tek real-time results. This will then be similar to last week when we ... [Read more...]

High School Swimming State-Off Tournament California (1) vs. Georgia (8)

July 26, 2020 | Swimming + Data Science

library(SwimmeR)
library(dplyr)
library(stringr)
library(purrr)
library(gt)
This week in the Swimming + Data Science High School Swimming State-Off Tournament we have the 1-8 match-up, my former home of California (1) vs. the Peach Tree State, Georgia (8)! California normally holds its state championships in May, so the 2020 meet was of course canceled for COVID-19. In my capacity as ...
[Read more...]

The USMS ePostal Over the Last 20+ Years

May 11, 2020 | Swimming + Data Science

In a previous post we discussed the 2020 USMS ePostal results, and hypothesized that declines in average distances swum by older age groups are caused by higher proportions of weaker swimmers participating in older age groups, rather than age based declines. We also mentioned how USMS epostal results are observational data, ...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)