Skip to content

RStudio Table Contest 2020 submission: Big Mac Index using gt package

Notifications You must be signed in to change notification settings

agstn/RStudio_table_contest_2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

RStudio Table Contest 2020 Submission

Our goal for the 2020 RStudio Table Contest was to learn and practice with the gt package. To do so we decided to focus on the following aspects:

  • Include interactive figures within the table. For this, we chose the echarts4r package to create interactive graphics with Echarts Javascripts, albeit other packages would have also worked (ie. Plotly, highcharter, etc.)
  • Include images, either through a GitHub repo (flags) or Wikimedia commons scraping (maps).
  • Include as many HTML tricks as necessary to improve the overall readability of the table (for example HTML color of headers, icons, spanners, hyperlinks, currency symbols, scale up the image size (maps) on hover, etc.)
  • Include footnotes, in particular a footnote color legend for the color column, an HTML details tab to display in an inconspicuous way the R session information, and font awesome icons for github and twitter hyperlinks).
  • Include CSS with the new feature opt_css to improve the tables aesthetics, especially in light of the interactive graphics tweaking.

In short the Big Mac Index is published by The Economist as an informal way of measuring the purchasing power parity (PPP) between two currencies and provides a test of the extent to which market exchange rates result in goods costing the same in different countries. It seeks to make exchange-rate theory a bit more digestible. The magazine's latest version (July 2020) of the The Big Mac index interactive currency comparison tool. Furthermore, you can also download the data or read the methodology behind the Big Mac index here

About

RStudio Table Contest 2020 submission: Big Mac Index using gt package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages