A solution to last week’s challenge can be found here.
The MIRTA dataset, released by DoD, contains geographic information for major military installations, ranges, and training areas in the United States and its territories. The other dataset is a listing of the high elevation peaks in each U.S. State, the name of the point, and its elevation.
Using the data provided, filter for active MIRTA sites and answer the following questions.
1. Which peak ranks #14 when only considering the highest peak in each state?
2. Which high peak is closest to a MIRTA site?
3. How many high peaks are closest to a MIRTA site in a neighboring state?
In a "neighboring state" or "not in the same state"? Not quite the same (30 vs 26)
I've used this https://www.census.gov/geographies/mapping-files/time-series/geo/carto-boundary-file.html to find neighboring (i.e. touching) states.
Took me quite a while to figure out why my answer to Q3 was 33. Turns out I used a too simplistic solution for cleansing the State name which resulted in getting rid of the spaces between the words in states like New Mexico.
Also did quite a bit of transposing and cross tabbing and then I got the epiphany of the Make columns tool.
Also, I think the task should be phrased a little differently, "in a neighboring state" does not necesarily mean in a "different state" - unless I missed something, I think we were unable to check the neighbouring states using only the provided data - unless Alteryx has some built in polygons of the US states?
Hi @dsmdavid and @zajaccount - good catch. I should have used the use of the word "nearby" or "different" rather than "neighboring". The intent of the question was not to have users track down a separate data set and make sure that states were touching, just that the closest peak/site were in different states.