Credit rating by country

January 17, 2012
By

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

The financial crisis has put a lot of pressure on countries' long-term foreign currency credit ratings, with France recently being downgraded by S&P. Wikipedia provides a list of countries by credit ratings as report by US rating agencies S&P, Fitch, Moody's and Dagong, a Chinese rating agency. So, was does the world look like today through the eyes of those rating agencies? We use the R packages XML and googleVis to read and display the data from Wikipedia with just a few lines: Is it a surprise that the views of the US and Chinese rating agencies differ on their home countries? Here is the R code to replicate the geo maps:

To leave a comment for the author, please follow the link and comment on his blog: mages' blog.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: 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...

Tags: , , ,

Comments are closed.