Premium Project

Functions for Food Price Forecasts (Unguided)

Write functions to forecast time series of food prices in Rwanda.

Start Project
  • 1 task
  • 49 participants
  • 1,500 XP

Project Description

Note: this project is soft launched, which means you may experience bugs. Please click "Report an Issue" in the top-right corner of the project interface to provide feedback.

Writing functions make your analyses more readable and more repeatable. In this unguided project, you'll perform an analysis of sorghum prices in Rwanda, then wrap your code into functions using skills from Introduction to Writing Functions in R, to apply your analysis to other food types.

You have freedom in how to solve this, but data import skills from Introduction to Importing Data in R, data wrangling skills from Introduction to the Tidyverse or Data Manipulation with data.table in R, date manipulating skills from Working with Times and Dates in R, and forecasting skills from Forecasting in R will come in handy.

Project Tasks

  • 1Writing functions to forecast food prices in Rwanda
Richie Cotton

Curriculum Architect at DataCamp

Richie runs the Content Quality team at DataCamp. He has been using R since 2004, in the fields of proteomics, debt collection, and chemical health and safety. He has released almost 30 R packages on CRAN and Bioconductor – most famously the assertive suite of packages – as well as creating and contributing to many others. He also has written two books on R programming, Learning R and Testing R Code.

See More


  • R LogoR
  • Topics

    Data ManipulationData VisualizationImporting & Cleaning Data