Read about the background at narrative.projectcodex.co.
Process the data
Nelisa would like to analyze weekly records of her sales to understand her business better.
Nelisa would like to find out:
- the most popular product sold each week;
- the least popular product sold each week;
- the most popular category sold each week;
- the least popular category sold each week.
She is also been keeping track of the products she bought each week.
She would also like to calculate:
- the most profitable product for each week;
- the most profitable category for each week.
Write a program that reads the files for each week and print the results to the screen in a format that can be sms’ed to her.
The data
Things to Remember
- write unit tests using Mocha;
- modularize your code;
- write small focussed functions.
Learning areas
- Data processing algorithms
- Grouping data
- Filtering data