France, its food and Data

Data Visualization| data science| Technology | | Eric

When I first moved to France I had so many questions about food. What is an "aperitif" and why am I expected to bring one to dinner? You did what to that goose? And wait, cheese can be a dessert?

I still have a ton of questions. But thankfully, the French government tracks food-related data through their census bureau. Let's try to get to the bottom to some of my questions with Data Science Studio (a.k.a. DSS) and data from France's census.

Data prep

I downloaded the most detailed set of census data that I could find from here.
It contains all sorts of weird information, like the number of open-air bowling alleys in each district.

Because sometimes you want to bowl, but you really don't want to be inside. Importantly for us, this data also contains information on all of France's stores: bakeries, cheese shops, butchers, etc.

I also downloaded the contours of the districts from here. These let us know the geography of each district and let us visualize the data on a map.

I uploaded all the datasets into DSS, synced them to my PostgreSQL database and did a big join.

Luckily, doing this in DSS is as simple as a few clicks:

Data Prep

If you're looking for more information on this step, check out our "How To" sections on databases and joins.

Making interactive maps with DSS

DSS let's you make interactive maps through a click-and-drag interface. So, I'm going to open my dataset with all of the census data, and do some exploration just by clicking and dragging columns into the interface.

Making interactive maps with DSS

The South (and Paris) love their "epiceries"

Ah, the "epicerie": part green grocer, part cornerstore, essential to the French "mode de vie". Which parts of France have the most epiceries per capital? Let's plot the data from the French government to find out.

The South (and Paris) love their

On the map, green shows regions with more "epiceries", while red shows regions with fewer. It definitely looks like the south and Paris appreciate their fresh vegtables.

The West enjoys their fish

Oysters, shrimp and sole meunière ... France has its share of great seafood.

Fortunately, the French government tracks the number of fish shops or "poissonneries". It seems like the west and the south enjoys seafood more than the rest of the country.

The West Enjoys Their Fish

Auvergne is cow-crazy

Cote du boeuf, filet mignon, and steak tartare. When I think French cuisine, I think beef. Which region has the most butchers? It's Auvergne!

Auvergne is cow-crazy

I'm told that this is somewhat of a stereotype. In fact, the Auverge tourism council proudly displays a herd of cattle in their promotional video.

Clic here to watch the video
Clic here to watch the video

I appreciate a region that appreciates its cows.

Paris and Perfume

It's not really food-related, but we can also look at number of perfume stores for each district. This map shows a sea of red with a tiny green speck -- Paris.

Paris And Perfume

Paris does love its luxury goods, so I'm not too surprised there's such a drastic distinction between Paris and the rest of the country.

Recap

Data Science Studio makes it easy to create interactive maps. Pretty quickly, we uploaded data from the French government, did a huge join and then started exploring the data with interactive maps.

If you want to talk more about French cuisine or anything related to data science, send me an email. Until next time!

Other Content You May Like