25  Intro

Demand & Supply Planning | S&OP :: with R

Figure 54 : planr R package

We now master the basics of R, for data manipulations and visualizations (ETL, Charts, Tables) and are ready to start practicing on some Demand and Supply Planning cases.

In this chapter, we will present the R package planr, that I’ve especially created for Supply Chain Management.

The goal is to provide some functions to perform quickly some classic operations in the scope of Demand and Supply Planning or to run some parts of the S&OP (Sales & Operations Planning) process.

There are currently 7 groups of functions :

All the calculations are performed either at monthly or weekly buckets.

To learn how to use those functions, we can refer to the Cheatsheets or Get Started sections of the planr package website and also to the glossary in the appendix section of this book.

To install the CRAN version:

Figure 55 : install planr from CRAN

To install the latest development version from GitHub :

Figure 56 : install planr from github

Now, let’s explore the different functions of the package!