Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Parsing Unstructured Addresses

$
0
0

So I've been given a pretty unorganized data set with a bunch of address info all in one column. I figured out how to parse out zip and state using ReverseString then a Text to Column. I having a much harder time getting the City and Address because as you can see the info is all over the place some having customer info and some having PO Boxes. 

 

I'm wondering if there is anyway I can parse out "city" by looking for patterns like parsing everything left of an two uppercase letters and right of everyword like "AVE, ST, LN, RD etc." Possible similar thing for address with parsing between "RD, ST etc" and a set of digits.

 

Not sure if thats possible but my goal was to eventually use the Alteryx geocoding app. Thanks for the help!

 

 Sample Address data


Viewing all articles
Browse latest Browse all 4999

Trending Articles