Basic Example

If you create an account, you can obtain an authorization token to make more than 50 calls in one day at https://www.quandl.com/account

library(Quandl)
# Quandl.auth("ENTER_AUTH_CODE_HERE")
# Download data
US.fertility <-  Quandl("WORLDBANK/USA_SP_DYN_TFRT_IN")
head(US.fertility)
##         Date  Value
## 1 2012-12-31 1.8805
## 2 2011-12-31 1.8945
## 3 2010-12-31 1.9310
## 4 2009-12-31 2.0020
## 5 2008-12-31 2.0720
## 6 2007-12-31 2.1200
plot(as.Date(US.fertility$Date), US.fertility$Value, type='l', xlab="Date", 
     ylab="Fertility Rate", main="US Fertility Rate")

Comparing the Price of Gold to the Price of Bitcoin

bitcoin <- Quandl("BAVERAGE/USD", start_date="2013-01-01")
head(bitcoin)
##         Date 24h Average    Ask    Bid   Last Total Volume
## 1 2015-04-10      239.65 235.26 235.11 235.22     96573.03
## 2 2015-04-09      244.73 243.91 243.53 243.70     68321.76
## 3 2015-04-08      251.09 246.61 246.44 246.46     97857.57
## 4 2015-04-07      255.37 255.55 255.27 255.46     51998.08
## 5 2015-04-06      258.69 256.82 256.49 256.68     69260.58
## 6 2015-04-05      256.46 258.26 258.09 258.23     51419.69
gold <- Quandl("BUNDESBANK/BBK01_WT5511", start_date="2013-01-01")
head(gold)
##         Date   Value
## 1 2015-04-09 1196.00
## 2 2015-04-08 1211.10
## 3 2015-04-07 1208.50
## 4 2015-04-02 1201.50
## 5 2015-04-01 1181.25
## 6 2015-03-31 1179.25

Comparing Milk and Cheese Production in the US

By Rachel Fox

Portland, OR Median House Prices

By Liam Bowcock (source Zillow).

Apple Stock

By Dean Young