Skip to content

Instantly share code, notes, and snippets.

@erzk
Created September 5, 2015 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erzk/1ab2cbbece636f8fc54f to your computer and use it in GitHub Desktop.
Save erzk/1ab2cbbece636f8fc54f to your computer and use it in GitHub Desktop.
# get the FX rates from Quandl
gbppln <- Quandl("CURRFX/GBPPLN")
# xts object for dygraphs
gbppln_xts <- Quandl("CURRFX/GBPPLN", type="xts")
# stl expects a time series data type
gbppln_ts <- Quandl("CURRFX/GBPPLN",
collapse="monthly",
type="ts")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment