community
cancel
Showing results for 
Search instead for 
Did you mean: 
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.
Announcement | Get certified today - take the Alteryx Designer Core and Advanced exams on-demand now!

Challenge #160: Diamonds R Forever

Asteroid

Challenge Completed 

One tool solution!!!

 

Spoiler
Took me a while to find the right code (thank you once again, StackOverflow!!), but I managed to find my solution using only the R tool, rather than just loading the data and then using regular Alteryx tools.

Definitely not the most intuitive programming language to dive headfirst into (having had exactly 1 experience in Python and 1 in R, I'd currently vote for Python... though clearly this sample size is lacking haha), but it at least started making more sense by the end. 

WeeklyChallenge160.JPG

Note: Thanks to @patrick_digan for unwittingly helping with my solution - I definitely took a shortcut and just "borrowed" your logic for determining the lower & upper bounds of each carat range :)

Cheers!

NJ

Quasar

Solution attached

Pulsar
Pulsar
Spoiler
Got tripped up and couldn't figure out why my R tool wouldn't bring in the data. Turned out being something super simple again.. I was using backslashes when the tool needed forward slashes!

Capture.PNG
Alteryx Certified Partner

Here's my solution

 

Spoiler
Screenshot 2019-06-23 at 18.36.17.png
Meteor

Still pretty new at this so it took a minute to figure out the R tool

Spoiler
Untitled.png
Alteryx
Alteryx
Spoiler
Fun little challenge with some R.  
Alteryx Certified Partner

12

Spoiler
Capture.PNG