New World Bank Data Available

September 22, 2010

(This article was first published on R-Chart, and kindly contributed to R-bloggers)

Just announced:  World Bank Data features and data are available.  Previous posts have demonstrated how to access and plot this data using R (including the use of the R WDI package).  The chart above can be created using the following program in R.


DF <- WDI(country=c(“US”,”FR”,”DE”,”GB”,”CN”,”RU”,”IN”), indicator=”SP.POP.TOTL”, start=1990, end=2008)

ggplot(DF, aes(year, SP.POP.TOTL, ggplot(DF, aes(year, SP.POP.TOTL, color=country))+geom_line(stat=”identity”)+theme_bw()+xlab(“Year”)+opts(title=”Total Population”)+ylab(“”)

To leave a comment for the author, please follow the link and comment on their blog: R-Chart. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)