BookmarkSubscribeRSS Feed
beamer108
Quartz | Level 8

I have an Address field that was concatenated to include Addr1, Addr2, Addr3, City, State, Zip etc.  In dataflux I need to take that Address field and create separate columns for each piece of the address.

 

Example:

beamer108_0-1622221560160.png

The columns in yellow are what I need created using dataflux - either eel or is there a specific node that would do the trick.

 

Thanks in advance

2 REPLIES 2
ballardw
Super User

First thing: I haven't any experience with Dataflux.

 

I think that any simple "node" or such is going to have issues because of varying data in your concatenated variable. Even your example does not show three "street address" bits, only two and this if you count a PO Box as a street address. Many things dealing with addresses will not use "street address" because so many elements that may appear there aren't really "street": PO BOX, or APO, Rural route, Floor/Suite/Apartment/Office at such.

 

I could probably manage this in a data step in base SAS programming assuming 1) all of the values are indeed comma separated 2) all of them have a city, state and zip code.

audrey
SAS Employee

Hi,

 

In Data Management Studio, you can use the Parsing node (under Quality) with the Address (Full) definition. This requires a Quality Knowledge Base.

https://support.sas.com/downloads/browse.htm?fil=&cat=540

 

audrey_0-1622443413230.png

 

Hope this helps.

 

Audrey

www.sas.comsupport.sas.com
SAS®... THE POWER TO KNOW®

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 913 views
  • 0 likes
  • 3 in conversation