Posts

98% green spaghetti, sliced and chopped

This is the latest stop in an analysis tour of free-range menu data.

One of the goals of fishing for real recipes is to be able to suss out patterns in how foods are combined and in what …

Read Post

Peeling back The Onion

In this post I’ll programmatically find The Onion article links, scrape them for content, and clean them up into a tidy format. I chose The Onion because while not real news, the site does a …

Read Post

Scraping Together a Recipe, Episode I

The Internet is full of amazing content. Like these names of actual recipes. Methodology for getting these to follow.

Recipe Name
Sea-Purb Seafood Pasta
Tuna Salad for Grown-ups …
Read Post

Scraping Together a Recipe, Episode II

One of the goals here is to see what portion of a menu tends to be devoted to, say, meat or spices or a word that appears in the receipe name etc. In order to answer that, we’ll need to …

Read Post

Scraping Together a Recipe, Episode III

Converting to Grams

Rather than rolling our own conversion dictionary, let’s turn to the measurements package that sports the conv_unit() function for going from one unit to another. For …

Read Post

Food for Thought II -- Building and Testing

Building Menus

Now that we’ve got our data, on to building a daily menu. The only constraint we’ll worry about for now is that menus have to contain at least 2300 calories. Our strategy is …

Read Post
Next Page