Cloud Quest #11: Filtering Sports News
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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!
- Download and extract the provided ZIP file containing your starting data and workflow files.
- Upload the provided Cloud Quest 11 - Start File.json file into your Analytics Cloud library.
- 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.
- Your first task is to identify which day of the week has the highest number of articles published in the Sports section.
- 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.
If you find yourself struggling with any of the tasks, feel free to explore these interactive lessons in the Maveryx Academy for guidance:
- Getting Started with Designer Cloud
- Building Connections in Designer Cloud
- Building Your Workflow in Designer Cloud
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I tried to make mine a bit more dynamic in case the data change and a different day of the week becomes the answer in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Fun one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Here's my take
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@RWvanLeeuwenIt looks like you've exposed two issues.
1. The ToString() function breaks if the column is already a string. If you remove the ToString() function around "day_of_week", your formula should work.
2. The location of the error is not being communicated correctly. It should say something like "Parse error at character (114)" instead of "Parse error at character (4)". It's character 4 on line 4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Done!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
First to use Standard Mode tools?? I might have cheated a bit since this gave me access to REGEXCountMatches. This also gave me a slightly different answer as football was used more than once in some keyword entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@JeffF
nice comment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
