Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 1.33 KB


An online application, created with R+Shiny, about prices of agricultural commodities. With this application, you can monitor all agricultural commodities traded in main markets, based on data from Quandl website. Alt text

  1. To get the data from Quandl, you need a key to connect to its API. In this case, a public key with read-only privileges is used.
  2. First, install Quandl package with install.packages("Quandl").
  3. To draw data per commodity and market, you need to know the respective Quandl codes and then execute Quandl() function.
  4. Given that for every commodity, there are various datasets (per market, product subcategory etc), it was deemed useful to show them all. However, the number of datasets per commodity is not constant (there may be one dataset or five datasets per commodity), so the application must handle these cases with flexibility. A reactive object was created within which the output dygraph plots are created as many as the available datasets.
  5. Finally, a forecast functionality has been added, with the ability to choose prediction periods, for every commodity and in the merged dygraph plot as well.

The code is available under MIT license, as stipulated in

You can’t perform that action at this time.