How do I get percentage changes instead of absolute levels in my R data download?
Note that data on Quandl comes in two formats: time-series and tables. You can learn more about these formats here.
Time-Series
To transform absolute levels to percentage changes, please use the transform="rdiff" parameter, like this:
data <- Quandl("NSE/OIL", transform="rdiff")
Please see
here for other possible transformations for time-series data. Please see
here for other examples of R commands with time-series data.
Tables
There is no transform= parameter for data in tables format. For tables, we recommend downloading the raw data and carrying out the required transformation using your own analytics tool.
There is no transform= parameter for data in tables format. For tables, we recommend downloading the raw data and carrying out the required transformation using your own analytics tool.