Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Zip Code from string to spacial

robshiffer
7 - Meteor

I'm trying to use the distance tool to calculate the difference between two zip codes (5 digit), but my zips are coming in as string. I tried using the select tool to convert the data to spacial, but when I do it just gives me null values for the zip code. Any suggestions on how to convert the string zip to a spacial?

1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus

@robshiffer,

 

I think that you might want to download shape files from the US Census here.  You can read the data and create a ZIP Code table and use the Centroid from the shapes to perform your calculations.  The unzipped files have a ".shp" file.  Input that file to get you where you need to go.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels