This blog post will be on a very weird mash-up of a few of my interests,
Rome: Total War, Avatar: The Last Airbender, and of course the R
programming language! I’ll introduce these drastically different
interests first…
[Read More]
Managing Large R Codebases webinar (summary and slides)
In October last year, I was part of a webinar to talk about “Managing Large Codebases in R” with Alex Bertram of ActivityInfo. It is a bit late to write a blog post about this, I know, but I realized I never created one to spread the word around a...
[Read More]
Iran vs. USA Tactical Review!
Introduction
The
Situation So Far
tl;dr (too long; didn’t read)
Line-ups
1st Half
The GOAL
2nd Half
What’s Next?
[Read More]
J.League Soccer 2022 Season Review!
Intro League table Team Reviews Cerezo Osaka Shimizu S-Pulse Vissel Kobe Kawasaki Frontale Kashiwa Reysol Kashima Antlers Yokohama F. Marinos Nagoya Grampus Shonan Bellmare FC Tokyo Gamba Osaka Consadole Sapporo Urawa Reds Kyoto Sanga Sagan Tosu Avispa Fukuoka Sanfrecce Hiroshima Jubilo Iwata Data Visualizations Squad Age Profiles Time Interval Scoring...
[Read More]
101st TokyoR Meetup Roundup: Palmer penguins, fractal analysis, and more!
Midst a monsoon, another TokyoR meetup! Since the pandemic started all
of TokyoR’s meetups have turned into online sessions and the transition
has been seamless thanks to the efforts of the TokyoR organizing team.
This was the 101st TokyoR
Meetup!
[Read More]
Developer diary for {ggshakeR} 0.2.0 (a package for soccer analytics viz): Working smoothly as a team on GitHub for R package development!
{ggshakeR} 0.2.0, a package
for soccer analytics visualizations for R is released! This version
brings a huge amount of new functionality as well as changes to existing
functions.
[Read More]
J.League Soccer 2022 Mid-Season Review!
Introduction League table Team Reviews Cerezo Osaka Shimizu S-Pulse Vissel Kobe Kawasaki Frontale Kashiwa Reysol Kashima Antlers Yokohama F. Marinos Nagoya Grampus Shonan Bellmare FC Tokyo Gamba Osaka Consadole Sapporo Urawa Reds Kyoto Sanga Sagan Tosu Avispa Fukuoka Sanfrecce Hiroshima Jubilo Iwata Data Visualizations Squad Age Profiles Time Interval Scoring...
[Read More]
Developer diary for {ggshakeR} 0.1.2 (a package for soccer analytics viz): Implementing Github Actions CI tools (codecov, lintr, etc.) into the workflow!
{ggshakeR} 0.1.2, a package for soccer analytics visualizations for R, is released! Users will most likely not see anything changed from their perspective as this version was all about implementing Github Actions CI tools and making changes in the back-end of things for the package. For more on the visualizations...
[Read More]
{tvthemes 1.3.0} is on CRAN: 'Steven Universe'-themed color palettes for ggplot2!
Welcome back to {tvthemes}, an R package for color palettes and ggplot2 themes from your favorite TV shows! The 1.3.0 release is now on CRAN. It’s been a very long time since the last update to {tvthemes}. Even version 1.2.0 was just updates on the back-end of things to implement...
[Read More]
Solving the 'preserving the sum after rounding' problem for a soccer waffle viz
I recently came across a cool waffle viz for the top 20 shot-creating action players in the big 5 European soccer leagues done by Harsh Krishna on Twitter, see original Tweet here. He also posted the code in this Github gist with a call for help in solving an issue...
[Read More]
J.League Soccer 2021 Season Review!
Introduction
[Read More]
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]
J.League Soccer 2021 Mid-Season Review!
Introduction
[Read More]
Introducing {centralperk}: Get quotes from the main characters of the TV show 'Friends'
My latest package is a R client for Melanie Seltzer’s “friends-quotes-api”, called {centralperk}! This was mainly a way for me to continue learning about APIs, specifically using APIs with R. I’ve been doing some work with an API powered by {plumber} for data collection at work and wanted to explore...
[Read More]
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]
My R Table Competition 2020 Submission: xG Timeline Table for Soccer/Football with {gt}!
Introduction
[Read More]
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]
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]
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]
Visualizing the Premier League So Far, Part 2: Stats from Open Play and Set Pieces
“per shot” values from set pieces in the ‘Set Pieces’ section (and other places where mentioned) have been corrected. (11/30/2019)
[Read More]
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]
{tvthemes 1.1.0} is on CRAN: Creating a {pkgdown} website, Gravity Falls palette, and more!
The newest version of {tvthemes} is now on CRAN! v1.1.0 features one new
palette (Gravity Falls), vignettes, renamed functions, and a nice
pkgdown website.
[Read More]
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]
{tvthemes 1.0.0} is on CRAN: Code improvements, Kim Possible, Stannis Baratheon, Hilda palettes/themes, and more!
Visualizing Soccer with StatsBomb Data and R, Part 1: Simple xG and Pass Partner Plots!
This will be Part 1 of what I hope to be a multi-part series of plotting soccer event-level data with R! This is more of a tutorial blog post rather than a deep analytical piece but I will give some context to the examples to set the scene! I can’t...
[Read More]
80th #TokyoR Meetup Roundup: Econometrics vs. ML, Python with R, & Translating tidyverse.org into Japanese!
Within a typhoon, another TokyoR Meetup! … well not really it turned out to be a false alarm and the weather was a wonderful 30 degrees Celsius with 800% humidity as usual in Tokyo. My gripes with the weather aside this month’s meetup was held at Cresco, an IT management...
[Read More]
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]
79th #TokyoR Meetup: {tidyr} 1.0.0, RAW image processing, and more!
As the monsoon rains fall, another TokyoR User
Meetup! On June 29th, useRs
from all over Tokyo flocked to Hanzomon, Tokyo for another jam-packed
session of #rstats hosted by
Infocom.
[Read More]
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]
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]
Introducing {tvthemes}: ggplot2 palettes and themes from your favorite TV shows!
A lot has changed with tvthemes 1.0.0 so please check the CRAN announcement blog post along with this blog post!
[Read More]
77th Tokyo.R Users Meetup Roundup!
76th Tokyo.R Users Meetup Roundup!
Visualizing Brooklyn Nine-Nine with R!
“Hey there criminal. It’s me, Johnny Law!” - Jake Peralta, NYPD.
[Read More]
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]
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]
The JapanR Conference 2018 Round-Up!
This past weekend was the 9th JapanR Conference hosted at LINE
Corporation in Tokyo, Japan!
[Read More]
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]
Animating the Goals of the World Cup: Comparing the old vs. new gganimate and tweenr API!
Welcome to Part 3 of my series on “Visualizing the World Cup with R”! This is the culmination of this mini project that I’ve been working on throughout the World Cup. In addition, from having listened to Thomas Pedersen’s excellent keynote at UseR! 2018 in Brisbane on the NEW gganimate...
[Read More]
Visualize the World Cup with R! Part 2: World Cup Drama - Visualizing Changes in the Group Table During the Final Matchday
This is Part 2 of my World Cup Data Viz Series (See Part 1 here)! In this blog post I’ll be showing you the visualizations I made for how the group table changed throughout the final matchday that I’ve been posting on Twitter.
[Read More]
Visualize the World Cup with R! Part 1: Recreating Goals with ggsoccer and ggplot2
After posting a couple of my World Cup viz on Twitter, I thought I’ll collate some of them into a blog post. This will be Part 1 of a series as the World Cup goes on and I keep improving my viz skills throughout the tournament. I will also explain...
[Read More]
Webスクレーピングから可視化まで、Tidyverseパッケージで探索データ解析(EDA)!
(Check out the English version of this blog post here)!
[Read More]
My first R package building experience: Reflections from creating bulletchartr!
I haven’t been able to make a blog post in a while (my blog post on cherry blossoms earlier this month was more of a big update)! Since my last post I: moved back to Tokyo, went to the RStudio Conference in San Diego, AND started my data analyst/viz internship...
[Read More]
Sakura Surprise: Cherry blossoms in Kyoto blooming earlier in the past ~100 years!
April in Japan is a time of new beginnings. Unlike most countries, the school year starts in April and is also the beginning of the fiscal year for the government and most corporations. This past April, The Economist presented an interesting article with a beautiful ggplot2 graphic depicting the steadily...
[Read More]
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]
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]
Thrice: Sentiment Analysis - Emotions in Lyrics!
Part 1: Song length distributions with joy plots!
Part 2: Breaking down the lyrics, word-by-word with tidytext
[Read More]
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]
Thrice: Initial Data Exploration and Song Length Distributions with Joy Plots!
(April-2018: updated to use ggridges package instead of deprecated ggjoy)
[Read More]
Global Peace Index: Web scraping and bump charts!
日本語版はここです!
[Read More]