Weekly Challenge

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

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

Submit Feedback
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.

Challenge #160: Diamonds R Forever

Highlighted
Alteryx
Alteryx

A solution to last week's challenge can be found here

 

Happiest of birthdays to those of you born in the month of April!  Did you know that the diamond is this month's birthstone?  To celebrate, analyze a dataset to count the number of diamonds that fall within a range of carat weights. 

 

The zip file below contains the file BigDiamonds.rda.  Use the R tool to read in the data to use in Designer.  You may find this article helpful for this challenge! 

 

Note: Make sure you have your Predictive tools installed!

 

 

Happy Birthday from the shiniest of diamonds...Neil Diamond.Happy Birthday from the shiniest of diamonds...Neil Diamond.

 

Highlighted
15 - Aurora
15 - Aurora
Spoiler
Capture.PNG

unzip("%Engine.WorkflowDirectory%BigDiamonds.zip", exdir="%Engine.WorkflowDirectory%Data")
load("%Engine.WorkflowDirectory%Data\\BigDiamonds.Rda")
write.Alteryx(diamondsbig,1)
Highlighted
8 - Asteroid

Took me some time to figure out how to read the actual content of the output and not just the name of the file but here it is!

Highlighted
5 - Atom
Spoiler
weekly_challenge.JPG

Solution attached. Also quickly explored how avg. price varies between certification agencies...wow.

Highlighted
Alteryx Certified Partner

I'm forever the R-soul.

 

Spoiler
Challenge 160 - Capture.PNG

 

 

Highlighted
12 - Quasar

Challenging!

 

Spoiler
Challenge #160.PNG
Highlighted
14 - Magnetar
14 - Magnetar

The R tool was very frustrating, until I realized that my slashes were in the wrong direction. User error strikes again!

 

Then just wanted to group the carats like I found in the diamond charts, so my formula tool differs a bit from othersimage.png

 

Not entirely sure I understand what I did with the R tool, other than get it to function, so something new to learn just dropped!!!

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

First-time used the R tool and finally managed to bring the data to the workflow. Afterwards it seems easy and straightforward ...

 

Highlighted
17 - Castor
17 - Castor

24 diamonds above 8 carats.  Sweet Caroline, indeed!

 

Spoiler
WF.png

Dan

Highlighted
10 - Fireball
Spoiler
Challenge 160.PNG