This package contains the Maddison Project Database, which contains estimates of GDP per capita for all countries in the world between AD 1 and 2016, in a format amenable to analysis in R.
The database was last updated in 2018.
As per instructions on the Maddison Project website, please site the data as follows:
Attribution requirement - When using these data (for whatever purpose), please make the following reference: - Maddison Project Database, version 2018. Bolt, Jutta, Robert Inklaar, Herman de Jong and Jan Luiten van Zanden (2018), “Rebasing ‘Maddison’: new income comparisons and the shape of long-run economic development”, Maddison Project Working paper 10 - For the references to the original research on individual countries, see Appendix A of Bolt et al. (2018).
library(maddison) library(ggplot2) str(maddison) head(maddison)
df <- subset(maddison, year >= 1800 & iso2c %in% c("DE", "FR", "IT", "UK", "US")) ggplot(df, aes(x = year, y = rgdpnapc, color = country)) + geom_line() + scale_y_log10() + theme_bw() + labs(x = NULL, y = "GDP per capita (2011 U.S. dollars)\n", color = NULL, title = "GDP per capita (1800-2010)")
This package is not affiliated with, nor endorsed by, the Maddison Project. I aim to update it whenever the database is updated. If you ever see that it is out-of-date, don't hesitate to send a pull request and/or remind me to update it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.