Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding currency info to README.Rmd #5

Merged
merged 1 commit into from
Apr 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ knitr::opts_chunk$set(collapse = TRUE)

Excerpt from the [Gapminder](http://www.gapminder.org/data/) data. This R data package provides the data as a data.frame and in plain text delimited form. Package includes premade color schemes for the countries and continents.

This data.frame includes six columns, ([documentation page here](http://www.gapminder.org/data/documentation/gd001/)):

| column name | meaning |
|:------------|:----------------|
|country | country name |
|continent | contient name |
|year | |
|lifeExp | Life Expectancy |
|pop | Population |
|gdpPercap | per-capita GDP |

Per-capita GDP (Gross domestic product) is given in units of [international dollars](http://en.wikipedia.org/wiki/Geary%E2%80%93Khamis_dollar). From Wikipedia:

> [...] the international dollar is a hypothetical unit of currency that has the same purchasing power parity that the U.S. dollar had in the United States at a given point in time

In gapminder, the currency matches the US dollar in 2005.

### Install and test drive

Install `gapminder` from CRAN:
Expand Down