We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
1 Day Left! - The Alteryx Community will be temporarily unavailable for a few hours due to implementation of the new SSO experience starting tomorrow at 5pm MDT. Please plan accordingly. For more information, read the blog.

Weekly Challenge

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

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

Challenge #182: Word Sleuthing

binuacs
8 - Asteroid
Spoiler
binuacs_0-1613323526285.png

 

NicoleJohnson
14 - Magnetar
14 - Magnetar

Like a good detective, when I discovered that my results were different than the provided solution, I did a bit of investigation to figure out how I was defining this differently so that I could get to the same answer... and then I also provided what I believe to be a "better" one in the context of "what makes a word".

 

Spoiler
The solution that matches: Key to getting it to match was to parse on alllll the punctuation markers, and to define a "word" as basically anything that wasn't punctuation. 

The solution that feels more accurate to me: Parse on all punctuation except single quote (to keep "words" like isn't, won't, etc.)... and then filter out anything that is left that does not contain letters. I also put all remaining words in lowercase so that The and the would be counted as the same word. Smaller list of words, but they feel more like "words" so I liked this result better 🙂

WeeklyChallenge182.JPG

 

Cheers!

NJ

Luke_C
12 - Quasar
Spoiler
Challenge182.PNG

Solution is slightly different due to ignoring case

JP_SDAK
8 - Asteroid

I downloaded file directly, removed all punctuation, and ignored case.  Caching made this way easier to work with.  I also got different totals than the answer, but the words appear to be the same.

Spoiler
JP_SDAK_0-1615328234240.png

 

Rhys1
7 - Meteor

Got different answers but my attempt nonetheless 

apathetichell
12 - Quasar

numbers are slightly off but the number of total words matches the output. I changed everything to the same case so that could be part of the issue. Opted for the ultra simplistic tokenize ever words to row solution...

DXC
6 - Meteoroid

With text2columns I got similar results.

rcarog
8 - Asteroid

Solution attached.

Laurap1228
9 - Comet

My file provides two different solutions, one that matches numbers in the Solution and one that calculates the percentages when numbers aren't counted as words.

 

Are numbers words?

Spoiler
Laurap1228_0-1617316939631.png

 

mdsalmankhan89
8 - Asteroid

here is my solution !