MaddisonData
Make it easier for humans to access data from the Maddison Data Project
in R. Later releases may include vignettes, etc., documenting analyses
using the [KFAS] (Kalman filtering and smoothing, aka state space)
techniques with these data.
Objectives: Make it relatively easy in R to do the following:
Find the countries with the highest
gdppcfor each year for which data are available.Refine “1” by deleting companies with high
gdppcbased on something narrow like a commodity, e.g., oil.Plot the data available on
gdppcand / or pop for a selection of countries, e.g., world leaders.
LATER:
Build a state space / Kalman models for
gdppcandpopfor each country in the Maddison project data.Use Kalman smooth to interpolate and extrapolate (forward but not backwards)
gdppcandpopfor each country for all years that appear anywhere in the Maddison project data.Identify the world leader in
gdppcfor each year, refining “1” usingKFASinterpolation.Identify the world technology leader for each year by evaluating the
gdppcleader for each year and replacing any whose leadership was narrow like members of OPEC with a country with a broad-based economy like the US.
Installation
You can install the development version of MaddisonData from GitHub with:
# install.packages("pak")
pak::pak("sbgraves237/MaddisonData")Example
[Coming soon.]
library(MaddisonData)
## basic example code