Description Usage Arguments Value
View source: R/create_batches.R
Split a volume into dated batches.
| 1 2 3 4 5 6 7 8 | create_batches(
  object = "lot",
  quantity = 1200,
  max_batch_nbr = 20,
  min_batch_size = 20,
  start_date = Sys.Date(),
  end_date = Sys.Date() + 20
)
 | 
| object | Character. component of the final label identifying the batch. | 
| quantity | Integer. Number of units to be divided in batches. | 
| max_batch_nbr | Integer. Number of batches. | 
| min_batch_size | Integer. Minimum number of units in a batch. | 
| start_date | Date. Beginning of the period. | 
| end_date | Date. End of the period. | 
A dataframe with date, object and quantity of each batch.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.