XML

Setting up FastRWeb on Mac OS X

February 23, 2012 | ronan

FastRWeb is an infrastructure that allows any webserver to use R scripts for generating dynamic content, such as web pages and graphics. In this post, you’ll learn how to install and set up FastRWeb on a Mac. This tutorial is expendable to any Unix-like operating system. It is an ... [Read more...]

Credit rating by country

January 17, 2012 | Markus Gesmann

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, ...
[Read more...]

Update on Scary Derivatives

November 16, 2011 | klr

After reading Bloomberg’s article, JPMorgan Chase & Co. and Goldman Sachs Group Inc., among the world’s biggest traders of credit derivatives, disclosed to shareholders that they have sold protection on more than $5 trillion of debt globally. ...
[Read more...]

Web Scraping Google Scholar (Partial Success)

November 8, 2011 | Tony Breyal

I wanted to scrape the information returned by a Google Scholar web search into an R data frame as a quick XPath exercise. The following will successfully extract  the ‘title’, ‘url’ , ‘publication’ and ‘description’.  If any of these fields are not available, as in the case of a citation, the ... [Read more...]

Web Scraping Google URLs

November 7, 2011 | Tony Breyal

Google slightly changed the html code it uses for hyperlinks on search pages last Thursday, thus causing one of my scripts to stop working. Thankfully, this is easily solved in R thanks to the XML package and the power and simplicity of XPath expressions: Lovely jubbly! P.S. I know ... [Read more...]

R related books: Traditional vs online publishing

October 12, 2011 | mages

How many R related books have been published so far? Who is the most popular publisher? How many other manuals, tutorials and books have been published online? Let's find out. A few years ago I used the publication list on r-project.org as an argument ...
[Read more...]

Measuring Price Dispersion of Marijuana

April 12, 2011 | Adam.Hyland

The intersection of mapping APIs, fast database operations and user engagement offers a lot of very cool crowdsourcing applications ranging from the benign and powerful (Google’s Person Finder) to the minor and questionable (A DUI checkpoints app). Most intriguing in … Continue reading → [Read more...]

Analyze Online R User Conference Data

July 19, 2010 | C

The R User Conference 2010 will be underway shortly - and what better way to commemorate the event than to  blast out some R code related to the conference?  HTML tables on websites for the past three years list participants an...
[Read more...]

What (Search Engines Think) People Want

July 17, 2010 | C

R O How G8 U R!Hey, R U there? Having used the R language for awhile now, I would like to let you know that R works - in fact R works really well. If you keep up with R news this should be no surprise...this is, after ...
[Read more...]

Maps, Geocoding, and the R User Conference 2010

July 14, 2010 | C

The R User Conference 2010 is scheduled for July 20-23, 2010.  Wanna know where?Although there are more sophisticated methods of mapping with R the maps package makes mapping activities straightforward.  A bit of XML and Google...
[Read more...]

Hacker News Religion Poll

July 5, 2010 | C

Hacker News user post polls from time to time - the following code constructs a bar chart based upon the responses to a recent poll on the stated religious affiliation of Hacker news users (parsed straight from the site).  The chart above is as of...
[Read more...]

Occupational Wage Comparison Plotted in R

June 17, 2010 | C

Ever have conversations with your kids about what they are going to do with their life? Still trying to figure out what you are going to do with yours?Best to not starve...The chart above represents the percentage of each occupation that earn a given h...
[Read more...]

3 lines of R code to Process a Web Service

June 9, 2010 | C

Ruby is well known for its terse syntax and ability to process web services. I prefer JSON (Javascript Object Notation) to XML whenever possible. For example, a script to retrieve a list of World Bank Data takes all of three lines of code (after in...
[Read more...]

Plotting World Bank Data with R

June 8, 2010 | C

Copy and paste the code listed in this post below, and you can create a plot of World Bank data using R with a call like the following:plotWorldBank('USA','NY.GDP.MKTP.KD.ZG')There is a wealth of economic and demographic available at the World Bank. ...
[Read more...]

The 1000 most-visited sites analyzed using R

June 5, 2010 | C

Ever wondered about which Computer and Electronics web sites get the most Page Views? Based upon data recently published by Google:The R program to create this graph is as follows:library(XML)# URL for the Google Datau="http://www.google.com/adplanner...
[Read more...]
1 2

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)