Cloud Quests

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

Cloud Quest #11: Filtering Sports News

AYXAcademy
Alteryx
Alteryx

Hi Maveryx,

 

We posted the solution JSON file to Cloud Quest #10. 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 11 - Start File.json file into your Analytics Cloud library.
  3. Reconnect the provided NY Times Data.csv dataset 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:

 

In today’s Cloud Quest, you will find a dataset containing the titles, key words, and other data for all New York Times articles published from January 1, 2020, to December 31, 2020.

 

  1. Your first task is to identify which day of the week has the highest number of articles published in the Sports section.
  2. Your second task is to identify how many times the word "Football" or "football" appears in the headline or keywords on the day of the week with the highest number of articles published in the Sports section.

In your result, write a statement similar to this:

The word football appears [number] times in articles published in the Sports section on [day of week]s.

 

Hint: Unlike Designer Desktop, the Text To Columns tool in Designer Cloud requires the backslash character (\) to be used to escape values within strings. White space characters can be escaped with a backslash as they are in RegEx syntax. You can find more information in the Delimiters field in the Text To Columns tool's Configuration window.

 

Spoiler
A combination of the Filter, Summarize, Formula, Text To Columns, and Join 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 the Maveryx 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!

AYX-Maveryx_Micro Identity-Maveryx Academy_wordmark.png

18 REPLIES 18
prabhakaran5
8 - Asteroid
Spoiler
Screenshot 2024-06-28 220327.png
mshishido
8 - Asteroid

here it is

ggruccio
ACE Emeritus
ACE Emeritus

Fun and easy!

 

Spoiler
Screenshot 2024-07-05 103856.png
TonyaS
Alteryx
Alteryx

This is what happens when I do not take any hints, it may be ugly but it does the job. :) 
And I created an App in App Builder for extra credit. 

 

Spoiler
CloudQuest11-TS-solution_screen.png

CloudQuest11-TS-App.pngCloudQuest11-TS-App_design.png

Tonya Smith
Sr. Product Manager, cloud App Builder
mceleavey
17 - Castor
17 - Castor

Nice and straightforward, but ensure you make the necessary bits and pieces dynamic.

 

Spoiler
I first filtered down to those records containing "Sports" in the section column, then created the day of the week using DateTimeFormat(left([pub_date],10),"%A") in a formula.
I then took one stream into a Sum tool and counted the number of day occurrences, sampled the first one sorted by number descending, this gave me my first answer, then joined back on Day.
From there I made the "keywords" and "headline" columns uppercase and filtered for football. Then it was a simple summarise and a formula for the statement using those dynamic elements of count and day.

Task 1 results.pngTask 2 results.pngworkflow.png

M.



Bulien

Shelbey
Alteryx
Alteryx
Spoiler
Screenshot 2024-07-08 151602.png

 

Smatthias
7 - Meteor
Spoiler
SPOILER

Filtern for football, then parsed the word football out, so I could count it,the rest is simple math and a string.Quest11_matthiasQuest11_matthias

 

tshih18
Alteryx
Alteryx

 

Spoiler
Screenshot 2024-07-17 at 1.30.59 PM.png

patrick_digan
17 - Castor
17 - Castor
Spoiler
image.png