Coder Social home page Coder Social logo

2016_08_02_rioolympicsathletes's Introduction

Here is the R code and data used to create this short story on How countries differ in their sport representation at the Rio Summer Olympics.

The code and data provided is on github as a personal archive and because I wish to make the method used transparent. Frankly, if you wish to rerun this code be mentally prepared for major frustrations! One reason the code is pretty convoluted is one script (03_athletesBySport.Rmd) will generate the interactive graphic in 9 languages.

Because of time constraint and laziness, I needed to get something as quickly as possible. The code uses many experimental packages/features. Furthermore, it currently uses 3 packages that are really just for personal use. I didn't expect that much interest for these graphics and code! :-)

One could importantly reduce dependencies/number of packages. But for now, this is the messy code I used.

Exclusion of liability

The code has been quickly written to publish a story as rapidy as possible. No guarantee is offered of its completeness, correctness or up-to-date nature. No liability is accepted for damage or loss incurred from the use of this script or the information drawn from it. This exclusion of liability also applies to third-party content that is accessible via this offer.

License

Creative Commons License
Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact details

If you have questions please write an email to ducquang.nguyen(at)swissinfo.ch or on Twitter

2016_08_02_rioolympicsathletes's People

Contributors

d-qn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.