We’ve extended Inspire Early Bird Pricing until March 1. Register now and enjoy 20% off conference passes and 10% off training passes. P.S. Don’t forget to bring friends! When you sign up for five or more tickets, you get an extra 20% discount on conference passes. Learn more now.
alteryx Community

# Weekly Challenges

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

Also available in | Français | Português | Español | 日本語
###### IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

## Challenge #82: Are You in the Path of the Solar Eclipse?

ACE Emeritus

Fun exercise!  Would have had to travel several hours to be in the path - but I hear it would have been worth it!

10 - Fireball

spatial, always a struggle for me.

12 - Quasar

Solution attached.

14 - Magnetar

This one took me a while but I'm pleased with the outcome. Rather than simply plotting the lines I decided to use the northern and southern limits to create a polygon representing the area of totality.

If the user selects a point within the totality, a distance of 0 is returned, and if they select a point outside of the totality the smallest distance to the area of totality is returned.

I decided not to limit the region to the US mainland as that resulted in some coastal regions not being properly covered by the polygon. Another option would have been to keep the first point outside the US mainland but that seemed like overkill.

Here's my solution:

Spoiler

Result for point outside the totality:

Result for point inside the totality:

12 - Quasar
Spoiler
17 - Castor

Challenge Completed

8 - Asteroid

As a Brit, it didn't make much sese to calculate my distance from the solar eclipse, so I chose to calculate the distance from the current hometown of Isaac Brock, my favourite American musician, who coincidentally lives only 21 miles from the path!

11 - Bolide

This was fun.

Even if I was on the wrong side of the ocean...

.Where I was vs Where Should I've been

Spoiler
Solar Eclipse Polygon

12 - Quasar

I was only 41 miles away from the total path, but things where we were was still very impressive.

19 - Altair

No glasses for me. Just a normal sunny day

Spoiler

Dan