Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #373: Fish and Chips, Anyone?

AYXAcademy
Alteryx
Alteryx

A solution to last week's challenge can be found here.

 

Use Designer Desktop or Designer Cloud, Trifacta Classic to solve this week's challenge.

Fish_and_Chip_Challenge_image.png

 

In the UK, National Fish and Chip Day is celebrated every year on the first Friday of June. This special day sees people across the country indulging in the iconic British dish, which is served in various establishments such as fish and chip shops, pub chains, restaurants, and retail outlets.

 

National Fish and Chip Day was established by the National Edible Oil Distributors’ Association (NEODA) in 2015. According to NEODA, British consumers devour a staggering 382 million portions of fish and chips annually.

 

For this challenge, we will use a dataset obtained from the UK's Department for Environment, Food & Rural Affairs. This dataset provides information on the average quantity of food and drink purchased by UK households per person, per week. Using the Major Food Code column, let’s determine the following:

 

  1. The major food code containing fish with the highest per person, per week consumption rate since 2015.

  2. The specific year, starting from 2015, that experienced the highest rate of fish consumption.

  3. The major food code containing potatoes with the highest per person, per week consumption rate since 2015.

  4. The specific year, starting from 2015, that experienced the highest rate of potato consumption.

 

Hints as you proceed:

  • Only  use the Major Food Code column  for the analysis.

  • If you come across a record that combines 2 years into a single record, for example 201516 or 2021-22, divide the value equally and generate a record for each year.

  • Note that traditional fish and chips in the UK do not include shellfish!

 

Source: https://www.gov.uk/government/statistical-data-sets/family-food-datasets

PhilipMannering
16 - Nebula
16 - Nebula

Beautiful English cuisine... makes me proud.

 

Spoiler
PhilipMannering_0-1685366530587.png

 

ahsanaali
11 - Bolide
Spoiler
ahsanaali_0-1685371167757.png

 

Per my understanding, 2015 is present as a calendar year column and merged with 2016 (201516). For my solution, I took 2015 column only and did not add half of 201516 column to avoid double counting. Also did not include 2021 in the analysis as only half year data is available.

 

Happy Memorial Day to community members in USA. 

nSpire
8 - Asteroid

Agree with ahsanaali above

 

Spoiler
nSpire_1-1685374325802.png

 

binuacs
20 - Arcturus
Spoiler
binuacs_0-1685374479038.png

 

AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
Easy to understand, but not beautiful.

AkimasaKajitani_0-1685375006379.png

 

Kenda
16 - Nebula
16 - Nebula
Spoiler
Kenda_0-1685375128710.png

 

Gurpartap0710
7 - Meteor
Spoiler
Gurpartap0710_0-1685376618548.png

 

Here is my solution

gaoa
11 - Bolide
Spoiler
gaoa_1-1685376866922.png

 

🐟🥔

rmassambane
10 - Fireball

373