Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

Challenge #120: Popular Baby Names

Highlighted
Meteoroid

And voilà! 

 

Spoiler
Challenge_120.JPG

The part I like the most is to see how people resolved this but in so different ways :-)

Best regards,

Jessica

Highlighted
Alteryx Certified Partner

My solution:

Spoiler
challenge 120.jpg
Meteoroid

This was my first challenge! Thanks for posting these!

Highlighted
Alteryx Partner

Hi ,

 

My solution as follows, i added a chart to see how the names compare.(Frequency vs  Count no. of Years)

Spoiler
AlteryxGui_2018-07-05_14-50-39.png

 AlteryxGui_2018-07-05_14-55-00.pngAlteryxGui_2018-07-05_14-55-17.png

Highlighted
Alteryx Certified Partner

Does anyone else feel all warm and fuzzy when they get to use Regex?

Anyone?

 

*gets coat*

 

Spoiler
I used the text to columns to split out the first field, then used Regex to parse out the 4 digit year from the filename using \d\d\d\d.
I then grouped the records by year and gender to find the maximum frequency and joined back on these fields to the main stream.
Then I simply split by gender and joined on the year.

Workflow.PNGResults.PNG 

 

Highlighted
Alteryx Partner

My first challenge :) 

 

Spoiler
challenge.PNG
Highlighted

Solution attached, thanks!

Highlighted
Meteor

Here is my solution.

Highlighted
Alteryx Certified Partner

Nothing fancy, my solution.

Highlighted
Asteroid

My solution :)