Creating a data pipeline with Github Actions & the {googledrive} package for the Canadian Premier League soccer data initiative!

In analytics for any particular field, it’s not enough to be able to create output (fancy charts, dashboards, reports, etc.) but also be able to collect the data you want to use in a easy, reproducible, and most importantly, consistent way. This is all the more important in a field... [Read More]
Tags: canada-premier-league, soccer, football, github-actions, googledrive, r-bloggers

J.League Soccer 2020 Season Review with R!

2020 brought another exciting, if temporarily suspended, season of Japanese soccer with the 28th season of the J.League managing to complete all of its games amidst the backdrop of COVID-19. Kawasaki Frontale went on a barn storming run to win the title with 4 games left and accumulating 83 points... [Read More]
Tags: japan, jleague, soccer, football, ggplot2, tidyverse, r-bloggers

87th TokyoR Meetup Roundup: {data.table}, Bioconductor, & more!

As the monsoon season (finally) ends, another TokyoR meetup! Since COVID hit all of TokyoR’s meetups since February have been done online and the transition has been seamless thanks to the efforts of the TokyoR organizing team. It was my first TokyoR since January so it was great to be... [Read More]
Tags: japan, japanr, japan.r, community, tokyor, tokyo.r, r-bloggers

Intro to {polite} Web Scraping of Soccer Data with R!

Fans of soccer/football have been left bereft of their prime form of entertainment these past few months and I’ve seen a huge uptick in the amount of casual fans and bloggers turning to learning programming languages such as R or Python to augment their analytical toolkits. Free and easily accessible... [Read More]
Tags: web-scraping, soccer, football, scraping, rvest, tidyverse, r-bloggers

My RStudio::Conf 2020 / TidyDevDay Roundup & Reflections!

RStudio::Conference 2020 was held in San Francisco, California and kick started a new decade for the R community with a bang! Following some great workshops on a wide variety of topics such as JavaScript for Shiny Users to Designing the Data Science Classroom there were two days full of great... [Read More]
Tags: rstudioconf, tidydevday, open-source, tidyverse, r-community, r-bloggers

Visualizing the Premier League So Far, Part 1: Overview with xPts Tables and xG Plots

It’s the November International Break and we’re around a third of the season through in the Premier League. To break the monotony I decided to do a blog post exploring how teams are doing so far according to a variety of metrics such as shots, goals, xG, xPts, etc. both... [Read More]
Tags: ggplot2, soccer, football, data-viz, football-analytics, soccer-analytics, r-bloggers

81st TokyoR Meetup Roundup: A Special Session in {Shiny}!

As another sweltering summer ends, another TokyoR Meetup! With global warming in full swing and it still being around 30 degrees at the end of September, this month’s meetup was held at DIP Corporation, an personnel/recruitment services company, in their headquarters in Roppongi, Tokyo. This month’s session was another special-themed... [Read More]
Tags: japan, japanr, japan.r, community, tokyor, tokyo.r, r-bloggers

My useR! 2019 Highlights & Experience: Shiny, R Community, {packages}, and more!

The useR! Conference was held in Toulouse, France and for me this was my second useR! after my first in Brisbane last year. This time around I wanted to write about my experiences and some highlights similar to my post on the RStudio::Conference 2019 & Tidyverse Dev Day earlier this... [Read More]
Tags: tidyverse, user2019, useR2019, shiny, shinymeta, data.table, rstats, r-bloggers

Visualizing the Copa América: Historical Records, Squad Profiles, and Player Profiles with xG statistics!

Another summer and another edition of the Copa América! Along with the Africa Cup of Nations, Nations League finals, the Women’s World Cup, Under-21 European Championship AND the Gold Cup this is yet another soccer-filled season after last year’s World Cup and the Asian Cup earlier this year (I also... [Read More]
Tags: brazil, messi, ggplot2, web-scraping, copa-america-2019, soccer, futbol, rvest, tidyverse, r-bloggers

78th #TokyoR Meetup Roundup!

With the arrival of summer, another TokyoR User Meetup! On May 25th, useRs from all over Tokyo (and some even from further afield - including Kan Nishida of Exploratory, all the way from California!) flocked to Jimbocho, Tokyo for another jam-packed session of R hosted by Mitsui Sumitomo Insurance Group.... [Read More]
Tags: japan, japanr, japan.r, community, tokyor, tokyo.r, r-bloggers

My #TidyverseDevDay and #RStudioConf 2019 Reflections!

This was my second RStudio Conference following last year’s edition in San Diego! In addition, at Tidyverse Developer Day I got a really cool chance to work on issues and contribute to making the Tidyverse better. This post won’t be a complete overview of the talks at the conference (others... [Read More]
Tags: rstudioconf, community, tidyversedevday, open-source, tidyverse, r-bloggers

Visualizing the Asian Cup with R!

Another year, another big soccer/football tournament! This time it’s the top international competition in Asia, the Asian Cup hosted in the U.A.E. In this blog post I’ll be covering (responsible) web-scraping, data wrangling (tidyverse FTW!), and of course, data visualization with ggplot2. All of the code and data below is... [Read More]
Tags: japan, ggplot2, web-scraping, asian-cup-2019, soccer, rvest, tidyverse, r-bloggers

Visualizing the Weather in Japan: A Sweltering Summer Story!

I’ve lived in a couple of countries where talking (or more typically whinging) about the weather is a national past time so I took things one step further, by making a blog post about it! [Read More]
Tags: weather, gganimate, japan, ggplot2, riem, maps, r-spatial, climate, JMA, r-bloggers

Exploring Japan's Postwar Economic Miracle with gganimate, tweenr, & highcharter!

In this blog post I weave in gganimate, tweenr, and highcharter plots while exploring the American policies that aided Japan’s postwar economic miracle! Back in college, I wrote a paper on this subject for my United States Economic History class. We were supposed to include a few tables and graphs... [Read More]
Tags: japan, ggplot2, gganimate, tweenr, highcharter, economics, r-bloggers

Where to live in Japan: XKCD-themed climate plots and maps!

In the past week or so, XKCD graphs of “The most comfortable place to live in ___” have been popping up on the #rstats community on Twitter. Jumping onto this trend (though slightly late), I will do one for Japan, the country where I was born! Some great examples that... [Read More]
Tags: xkcd, riem, weather, climate, maps, japan, ggplot2, r-bloggers

Thrice: Breaking Down The Lyrics Word-by-Word!

In Part 2 we will look at the lyrical content of the band, Thrice. By dividing the lyrics of each song into a single-word-per-row format, we can take a much closer look at the the lyrical content at various levels! [Read More]
Tags: thrice, music, lyrics, text-analysis, tidytext, r-bloggers