News combit Dev Blog

Fun With the Major Upcoming Winter Sports Event in Pyeongchang

Posted: Wednesday, February 7, 2018 | 0 comment(s)
 
As you might know, this year’s Winter Sports Event will start just by the end of the week. I have to circumlocate the actual name of the event as those people really mean “Trademark” when they say it. Let’s call it simply “Games” for the rest of this article, which hopefully should be safe. Anyway, I thought this would be a good opportunity to do some statistics with my favorite reporting tool.

First, I had to find some suitable raw data. The UK’s Guardian sponsored a project on kaggle which was kept up to date even after the London Games by the community. The provided data contains a data set with the most important metrics for medal winners:



To connect List & Label with this raw data, a CSV data provider is required. As I would like to do some advanced filtering and sorting, I wrap it in an InMemoryDataProvider:

CsvDataProvider rawData = new CsvDataProvider(@"C:\data\WinterSportsEvent\winter.csv", true, "Medals", ';');
InMemoryDataProvider sqlData = new InMemoryDataProvider();
sqlData.AddTable(rawData, "Medals");
using (ListLabel LL = new ListLabel())
{
    LL.DataSource = sqlData;
    LL.Design();
}

This starts the Designer with the raw data available as a sortable and filterable data source. The rest is easy – just add some crosstabs and enable a drilldown via report parameters. This gives an interactive data browser to answer questions like “Who is Ole Einar Bjørndalen and in which sport did he win his medals?” or “Which country won the second most medals, and when did they win them?”

Fun facts I was able to extract:

  • If we assume everyone plays fair, it seems to help a lot if the Games are at your home country (note the peak for the 1992 Turin Games in the Italian medal statistic):

 
  • While Germany (“GER”) just ranks 7th in the all-time statistic, the combination of GER, the Federal Republic of Germany (“FRG”) and the German Democratic Republic (“GDR”) ranks third just after Canada.
  • Talking of Canada, if you want to get a huge number of medals you should pursue team sports like Ice Hockey as they are counted once for each team member at least in this data set.
  • Cross-Country Skiing seems to be a great sport for individuals searching to make most medals. From the top 15 athletes, seven are skiing cross-country. But then again, they haven’t had the best press lately.
  • If your country is flat like the Netherlands, better get some good skates instead of skis or a snowboard. Corollary: don’t mess with the Netherlands at skating.

We’ve put my playground report online on our free Report Server online demo. Of course, this can easily be done via a couple of REST calls. You will find the corresponding report "Winter Sports Event" under "Report Templates". It contains several drilldown reports to play with. Enjoy!



 




Author: Jochen Bartlau
Head of Development List & Label

Jochen Bartlau leads the development at combit as Managing Director. He's a Microsoft .NET enthusiast driving innovation & agile project management. The mobile devices geek who used to be a physicist in his first life loves to spend his spare time with his family.


  

RSS
combit Development BlogRSS
What’s this blog for?
A place to share updates about the ongoing development of our products. General musings on the software industry included.
Archive
March 2021 (1)
February 2021 (2)
January 2021 (1)
December 2020 (2)
November 2020 (1)
October 2020 (2)
September 2020 (1)
August 2020 (2)
July 2020 (1)
June 2020 (1)
May 2020 (2)
April 2020 (2)
March 2020 (2)
February 2020 (1)
January 2020 (1)
December 2019 (1)
November 2019 (2)
October 2019 (2)
September 2019 (2)
August 2019 (2)
July 2019 (2)
June 2019 (2)
May 2019 (1)
April 2019 (0)
April 2019 (1)
March 2019 (1)
February 2019 (1)
January 2019 (1)
December 2018 (1)
November 2018 (2)
October 2018 (4)
September 2018 (4)
August 2018 (2)
July 2018 (2)
June 2018 (2)
May 2018 (1)
April 2018 (1)
March 2018 (1)
February 2018 (2)
January 2018 (1)
December 2017 (1)
November 2017 (2)
October 2017 (3)
September 2017 (3)
August 2017 (2)
July 2017 (2)
June 2017 (1)
May 2017 (2)
April 2017 (1)
March 2017 (1)
February 2017 (1)
January 2017 (2)
December 2016 (1)
November 2016 (1)
October 2016 (4)
September 2016 (5)
August 2016 (2)
July 2016 (2)
June 2016 (3)
May 2016 (2)
April 2016 (3)
March 2016 (3)
February 2016 (1)
January 2016 (2)
December 2015 (2)
November 2015 (1)
October 2015 (4)
September 2015 (5)
August 2015 (2)
July 2015 (2)
June 2015 (2)
May 2015 (1)
April 2015 (2)
March 2015 (1)
February 2015 (1)
January 2015 (1)
December 2014 (2)
November 2014 (1)
October 2014 (1)
September 2014 (2)
August 2014 (1)
July 2014 (2)
June 2014 (1)
May 2014 (2)
April 2014 (1)
March 2014 (2)
+1 800 256 3608 (toll-free North America only)