Hi,
I am trying to convert the 'have' dataset into the following 'want' dataset. Any help will be appreciated. Thanks!
HAVE | ||||||||
id | address1streetnum | address1streetname | address1city | address1zip | address2streetnum | address2streetname | address2city | address2zip |
101 | 215 | Market Street | San Francisco | 94016 | 16 | Main Street | New York | 10001 |
102 | 957 | Market Street | San Francisco | 94016 | 12 | Main Street | New York | 10001 |
WANT | ||||||||
id | addressstreetnum | addressstreetname | addresscity | addresszip | address_num | |||
101 | 215 | Market Street | San Francisco | 94016 | 1 | |||
101 | 16 | Main Street | New York | 10001 | 2 | |||
102 | 957 | Market Street | San Francisco | 94016 | 1 | |||
102 | 12 | Main Street | New York | 10001 | 2 |
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: