Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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
Top Solution Authors