Cloud Quests

Elevate your workflow skills by solving real-world challenges using the Alteryx Analytics Cloud Platform.

Cloud Quest #27: Word Sleuth

AYXAcademy
Alteryx
Alteryx

Hi Community,

 

We posted the solution JSON file to Cloud Quest #26. Check it out and let us know what you think! Send suggestions to academy@alteryx.com or leave a comment below!

 

Let’s dive into this week's quest!

 

  1. Download and extract the provided ZIP file containing your starting data and workflow files.
  2. Upload the provided Cloud Quest 27 Start.json file into your Analytics Cloud library.
  3. Reconnect the provided Cloud Quest 27 Input.csv and Cloud Quest 27 Output.csv datasets to your starting workflow file.

For more detailed instructions on how to import and export Designer Cloud workflow files, check out the pinned article Cloud Quest Submission Process Update.

 

 

Scenario:

 

This week's Cloud Quest was inspired by a submission from Abubakar Mahmood (@BuQu). Thank you for the contribution! 

 

The starting dataset for this quest is a TXT file that contains the transcript of The Project Gutenberg eBook of The Adventures of Sherlock Holmes by Sir Arthur Conan Doyle. TXT files can be easily converted into CSV format for use in Designer Cloud.

 

Using the provided input, count the number of times each word appears in the text. Then, sort the words in descending order and calculate the percentage of each word's usage relative to the total word count.

 

Hint: You might notice a different number of output rows in your solution, as it largely depends on how specifically you define a valid word. In our solution, we excluded numbers, empty or null cells, and single-character cells (except for "a" and "I"). If you're unsure where to begin, start by tokenizing words into individual rows.

 

Spoiler
A combination of the Append Fields, Sort, Formula, RegEx, Summarize, and Data Cleansing tools should solve your problem, but not necessarily in this sequence.

 

If you find yourself struggling with any of the tasks, feel free to explore these interactive lessons in Alteryx Academy for guidance:

 

Once you have completed your quest, go back to your Analytics Cloud library.

  • Download your workflow solution file.
  • Include your JSON file and a screenshot of your workflow as attachments to your comment.

 

Here’s to a successful quest!

 

Academy Wordmark.png

 

 

 

 

Download Start File | Download Solution File

10 REPLIES 10
AkimasaKajitani
17 - Castor
17 - Castor

My solution!

 

@AYXAcademy 

By the way, The Start file doesn't have the correct input files, it has wrong input files that is for Quest #28. I found the correct input files from the Solution file.

 

Spoiler
image.png