New World Bank Data Available

September 22, 2010
By

[This article was first published on R-Chart, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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.

library(ggplot2)
library(WDI)



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.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.



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

Sponsors

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)