j-sm-n / black_thursday

Black Thursday is a system that is able to load, parse, search, and execute business intelligence queries against the data from a typical e-commerece business in Ruby.
0 stars 0 forks source link

Relationship Layer: Which merchants sell the most items? #29

Closed jesse-spevack closed 8 years ago

jesse-spevack commented 8 years ago

Maybe we could set a good example for our lower sellers by displaying the merchants who have the most items for sale. Which merchants are more than one standard deviation above the average number of products offered?

sa.merchants_with_high_item_count # => [merchant, merchant, merchant]

https://github.com/turingschool/curriculum/blob/master/source/projects/black_thursday/iteration_1.markdown#which-merchants-sell-the-most-items