I am struggling to come up with a proper design to hold recycling data. The data is collected on a three month cycle, for each week of that month. so the data looks like the following (they collect the data currently in excel right now):
Month 1 | Plastic | Metal | Newspaper | Cardboard | Paper
---------------------------------------------------------------------------------
Measurement: | (x) 19 Gal | 19 Gal | 19 Gal | 19 Gal | 19 Gal
| 36 Gal | 36 Gal | 36 Gal | 36 Gal | 36 Gal
| Lbs | Lbs | Lbs | Lbs | Lbs
| Other:(txt) | Other | Other | Other | Other
---------------------------------------------------------------------------------
Week 1 | 1
Week 2 |
Week 3 |
Week 4 |
Week 5 | 2
----------------------------------------------------------------------------------
Total (Lbs) | Z
In this sample, the total (Z) would be a conversion of 3 19 gallons bins to lbs
The part that is making my head hurt is each Recyclable product also has multiple attributes attached to them, so Plastic has a bin size, how it was recycled, etc....
I have read up on EAVs and class Table inheritance, but they don't feel 'right' for this problem. Thanks in advance.