Learn R Programming

planr (version 0.5.1)

month_to_week: Convert a Demand expressed in Monthly buckets into Weekly buckets

Description

Convert a Demand expressed in Monthly buckets into Weekly buckets

Usage

month_to_week(dataset, DFU, Period, Demand)

Value

a dataframe with the Demand expressed in weekly buckets for each item

Arguments

dataset

a dataframe with the demand in monthly bucket for each item

DFU

name of an item, a SKU, or a node like an item x location

Period

a monthly period of time that we want to convert into weekly buckets

Demand

the quantity of an item planned to be consumed in units for a given period

Examples

Run this code
month_to_week(dataset = demo_monthly_dmd, DFU, Period, Demand)

Run the code above in your browser using DataLab