## Exploring our grocery numbers

| quantified

Analyzing my grocery data is more challenging than analyzing my time data. There’s a lot more data cleanup needed. I have to figure out obscure line items on old receipts and catch typos in both names and numbers. Then there’s figuring out how much I want to combine different items and how much I want to keep them separate.

For example, milk has different receipt item names depending on the item (size, brand, type) and the store. If I want to know how much we’ve spent on milk, I’ll use the total for all of them. But if I want to get a sense of the price history, it makes sense to track each receipt item type separately. I do this by keeping the receipt name (fixing typos as I review my data) and mapping these receipt names to a friendly name I set for myself. This way, the line “HOMO 4LI” on my receipt gets turned into “Milk” in my report. Come to think of it, maybe I should change it to “Milk, 4 L, Homogenized”…

Categories are handy for reporting too. Because of the ad-hoc way I created receipt item mappings and assigned them to categories, I ended up with inconsistent categorization. Some types of toilet paper were in the Supplies category, and some types were in the Other category. I manually reviewed the category assignments and I think I’ve gotten them sorted out.

Anyway, analyzing my data from 2013-07-01 to 2015-07-01, I see that we spend an average of \$80 per week on groceries, which sounds about right. Some of the receipts are missing and there are almost certainly other little errors in the data, but this should give me the overall picture.

I’m still trying to figure out a good way to visualize the data in order to answer the questions I’m curious about, so here are my notes along the way. X axis is date, Y axis is total cost on that day, color is how it compares to the average price it is (lower price than average = blue, higher = orange).

Milk

Milk consumption is pretty straightforward. Every week, we use around 0.6 bags of milk (~2.4L) – more when J- and her friends are over (teenagers!). The price of milk has stayed at \$4.97 per 4L, except for the time we bought a slightly more expensive type of milk (~Oct 2013) and the time in June 2014 when a smaller size was on sale, so we picked up one of those instead.

Eggs

We used to buy extra-large eggs, but the supermarket close to us stopped carrying 18-packs of those, so we switched to 18-packs of large eggs instead.

Extra-large eggs

Large eggs

The price of large eggs is stable at \$4.27 for 18. We use ~11 eggs a week.

Things we buy when they’re on sale

Canned tomatoes

We stock up on canned tomatoes when they go on sale, since they’re easy to store.

We probably use ~3 cans a month. The sale price has drifted up from \$0.88 to \$0.97, while the regular price is a little bit over \$1.50.

Butter

We haven’t bought butter at full-price in two years. The sale price for unsalted butter tends to be between \$2.77 and \$3.33, while the regular price is \$6+.

Produce

Strawberries

I like strawberries, but I stopped buying them for a long time because they seemed like such an indulgence and the sweetness tended to be hit-or-miss. This year, I gave myself permission to splurge on strawberries in season.

Bananas

We seem to go through banana phases. When we hit banana overload, we stop for a while.

The colours here are just due to floating point imprecision. Bananas have actually stayed the same price for the past two years (\$1.26/kg).

Apples

We often get gala apples:

We like picking up ambrosia apples during the rare occasions they’re available. Last winter was a good one for ambrosia apple availability.

Chicken

Whole chickens

Lots of whole chickens lately, because of the rotisserie.

Chicken quarters

Our main protein, although we also buy a fair bit of beef and pork, and chicken drumsticks/thighs when they’re on sale.

There’s more I haven’t explored yet, but I figured I’d put together these little observations along the way. =)

## Quantified Self: a year of grocery data

Posted: - Modified: | quantified

I started tracking our grocery expenses when we decided not to sign up for a community-supported agriculture program. I’d tracked several seasons of the CSA, and I wanted to see if we would still eat lots of vegetables without the bi-weekly commitment of a farm share. I also wanted to get a sense of what we bought.

I started scanning my receipts, and I found an assistant who could type them in. I set up a spreadsheet where he could type in the dates, stores, and line items (including quantity, unit price, and total). There were occasional typos, but I could find and fix them. I used a look-up table to match the line items with friendlier names (ex: RDPATH SUGAR is white sugar) and file them under categories.

The data below isn’t complete because there were a number of receipts that slipped through the cracks. If I let too much time pass between data updates, I couldn’t remember what some things were. Still, it should give a general idea of how the year went. The data covers April 2012 to March 2013 and includes 1223 line items.

Here are some questions I wanted to explore:

• A. How much did we spend in various categories, and how does that vary month by month? For example, how much do we spend on vegetables? Is this in line with what we want our diet to be?
• B. What items do we spend the most on? This could point to better ways to economize (buying in bulk, finding cheaper choices) or show us where it’s worth spending on better quality because we use so much of it.
• C. How frequently do we buy certain items? Can we predict consumption patterns or sale patterns, and stock up when things are on sale?
• D. What are the normal prices and the sale prices for various items? When and where does it make sense to buy different things?

So, let’s see! Click on the images to view larger versions.

A. How much did we spend in various categories, and how does that vary month by month?

Grocery expenses worked out to be \$422/month for this family of three in Toronto, Canada. We ate pretty well, enjoying our favourite foods, the occasional snack, and fresh fruits and vegetables, and buying organic milk (which turned out to be a large part of the budget, but probably worth it). Because we cook in bulk, some months have larger grocery bills and some months involve more freezer-raiding. The standard deviation was \$160.

We spent the most on meat (\$59/month) and dairy (\$53/mo), but fruit (\$47/mo) and vegetables (\$46/mo) also made a respectable showing. Vegetables worked out to \$22 every two weeks, which is less than what we were paying for the CSA box. That could be accounted for as a pricing difference between conventional and organic produce, and we still bought extra vegetables when we were in the CSA. Paying attention to our increasing vegetable spending helped us learn lots of ways to prepare food. Yakiudon turned out to be a house favourite, and other stir-fries are great too. We haven’t been able to get our vegetable spending to overtake meat, but that’s probably because of the occasional indulgence in lamb korma.

The month-by-month pattern made me think there were bigger differences, but because stocking up and bulk cooking means our monthly patterns probably aren’t a good source of information. Our vegetable spending is positively correlated with our overall grocery spending (0.7), which means that ~50% of the ups and downs are explained by the ups and downs in our grocery bill (maybe we just bought less).

Anyway, I feel pretty good about how the proportions worked out. There’s hope for us yet!

B. What items do we spend the most on?

We buy milk because J- likes it. It turns out that Canada prohibits the use of artificial growth hormones for dairy cows and antibiotics are also controlled, but we still get the organic version for extra safety. Lamb shanks from the butcher are a splurge when it comes to making lamb korma. We found that Metro often has the lamb cuts we want, though, so we check there first now. Shrimp sees a lot of use in pad thai, stirfries, and other wok-based dishes, plus our occasional wonton marathons. My standard breakfast is rice and fried egg, and we use lots of eggs in baking and stirfrying too. I was surprised that much butter (and we do, even though we try to stock up during sales!) because of baking, and that grapes made it into our top ten despite being something we don’t eat that often. We buy grapes only when they’re super-crisp, and sometimes we forget to eat all of them before they soften. Also, we usually buy chicken legs or drumsticks, but it was interesting to see that whole chickens turned up on this list even though we don’t buy them frequently.

C. How frequently do we buy certain items?

A block of butter, a carton of 18 eggs, and a bag of 4L milk every 1.5 weeks (eggs and milk feel more frequent than that, though…)
A 2kg bag of white sugar every ~2 months, a 1kg(?) bag of demerara sugar every ~6 months

It’s a little harder to tell how often things go on sale and how much we want to stock up, because we skip sales if we still have stuff in stock (ex: butter) and we shift our buying patterns depending on what’s on sale (ex: 30% on a particular meat package that’s nearing its best-by date). It looks like butter is always good to get on sale, though, and that seems to be every other month.

D. What are the normal prices and the sale prices for various items?

Hmm, I think it might be useful to remember which ones sometimes go on big sales, so then it makes sense to postpone until things are in season.

Butter is usually \$4.97, sometimes \$2.88. Salami is sometimes \$4.20 off (\$5.29), clementines are sometimes \$3 off (\$3.99), and bacon is sometimes \$2.58 off (\$2.97). Sometimes we can get Japanese udon noodles for \$1 instead of \$2.19. And then there was that time that Campbell’s condensed chicken soup was on sale for \$0.50 instead of its usual \$0.97, and we bought a lot. =)

In general, our neighbourhood No Frills supermarket has pretty prices for stuff, although some things necessitate a special trip to the Sweet Potato organic food store or the Welcome or Oriental Harvest ethnic supermarkets. Metro also stocks some sauces and lamb cuts that are hard to find elsewhere. I sometimes look up prices from my records, but the difference is usually pretty small.

So that’s roughly a year of data. Hmm… Should I continue? Maybe I’ll scan and stash the receipts, but I might not have someone type in the information until I have more questions I want to ask. It was interesting to collect that data over a decade, though!

## Quantified Awesome: Grocery update – Oct 2012

| quantified

I’d gotten into the habit of scanning my receipts and sending them over to one of my virtual assistants, but I hadn’t analyzed the numbers in a while. I finally sat down and spent 23 minutes categorizing the new items from the line-item breakdown of our receipts. With the categories in place, I could update my reports (another half-hour or so). So here we are – almost a half-year update.

That works out to an average of \$395.36 per month (looking at May-September) for 2.7 people (W-, me, and J-, who spends weekends at her mom’s), or \$146 per person. I think we eat quite well. Yummy lunches all ready to go, dinners at home, various favourites making their appearance, and even a party or two somewhere in there…

September is interesting – I was away for two weeks, and W- bought a lot of vegetables. Maybe if I let him take the lead in planning recipes and making a list, we’ll ramp up vegetable-eating again. =) It’s also interesting to see the regularity of our egg-buying patterns.

Here are the top 10 individual items in terms of money spent:

I’ve been curious about sale patterns and comparing prices between places. We get our lamb shanks from a butcher and they’re priced by weight, so I haven’t been tracking fluctuations. Organic milk is \$9.99 except for that one time we tried a different brand that was on sale for \$6.99. Shrimp prices vary a bit depending on the kind of shrimp; we now often get peeled shrimp for convenience. We switched from buying small \$7.49 bags of brown rice to the bigger \$14.99 bags (way more than twice the rice, although we have to get this from an Asian market). We’ve also upgraded from the small bag of sushi rice (\$12.98) to the huge bag of sushi rice (\$22.99). We used to be able to get chicken leg quarters for around \$2.50 in May, but now they’re more like \$4.5-\$5.0 per package (can’t find the halal chicken leg quarters). Cherries started off at 4.34 a kilo, dipped to 3.24, went up to 4.34, and were at 2.14 in August. Extra large eggs are between \$4.27 and \$4.47. Mozzarella is \$2.99 normally and \$2.29 on sale.

In total, I’ve spent \$10.98 on delegation (including bonuses) in order to get this data, and an hour here and there every time I want to crunch the numbers. =) Not bad. I like getting a sense of how we’re doing, and it will be interesting to see personal-scale inflation as the years go by.