powered by
Retrieves Data from the Quandl Dataset endpoint and formats
Quandl( code, type = c("raw", "ts", "zoo", "xts", "timeSeries"), transform = c("", "diff", "rdiff", "normalize", "cumul", "rdiff_from"), collapse = c("", "daily", "weekly", "monthly", "quarterly", "annual"), order = c("desc", "asc"), meta = FALSE, force_irregular = FALSE, ... )
Dataset code on Quandl specified as a string or an array of strings.
Type of data returned specified as string. Can be 'raw', 'ts', 'zoo', 'xts' or 'timeSeries'.
Apply Quandl API data transformations.
Collapse frequency of Data.
Select if data is given to R in ascending or descending formats. Helpful for the rows parameter.
Adds meta data as an attribute to the returned Data.
When set to TRUE, forces the index of the Data to be of date format yyyy-mm-dd
Additional named values that are interpreted as Quandl API parameters. Please see https://docs.quandl.com/docs/in-depth-usage#get-time-series-metadata for a full list of parameters.
Depending on the type the class is either data.frame, time series, xts, zoo or timeSeries.
Set your api_key with Quandl.api_key function. For instructions on finding your api key go to https://www.quandl.com/account/profile.
api_key
Quandl.api_key
This R package uses the Quandl API. For more information go to https://docs.quandl.com. For more help on the package itself go to https://www.quandl.com/tools/r.
# NOT RUN { quandldata = Quandl("NSE/OIL", collapse="monthly", start_date="2013-01-01", type="ts") plot(quandldata[,1]) # }
Run the code above in your browser using DataLab