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.
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