Hello ,
Can any one assist. I have a Street Address file and i want to split the information in the file into different columns.
For example "100 SW 14th Street N, Suite 120"
First. The script will capture the 100 into a new column called StreetNo. Was thinking of a scenario where the script does a count until it finds a space then stops.
Second. The script will extract "SW" into another column called DirectionPrefix . So if it find any N, E, W, S, NE, NW, SE, SW immediately after the streetNo, it should capture that value and store it the the DirectionPrefix column.
Thirdly. All the value found immediately after the N, E, W, S, NE, NW, SE, SW, if there are any, should be store in a new column (StreetName). The scripts does the count until it find a Street Type (Road, Avenue, Blvd). but this value will be include a street type.As for the example above - Street.
Fourth. The script will capture the street type for that road. as for the example above - Street.
Fifth. Search if any N, E, W, S, NE, NW, SE, SW exist immediately after the street type. if yes, capture and place that into another column.
Sixth. Everything after the Fifth step should be capture and placed into the sixth columm.
Thank you.
Can any one assist. I have a Street Address file and i want to split the information in the file into different columns.
For example "100 SW 14th Street N, Suite 120"
First. The script will capture the 100 into a new column called StreetNo. Was thinking of a scenario where the script does a count until it finds a space then stops.
Second. The script will extract "SW" into another column called DirectionPrefix . So if it find any N, E, W, S, NE, NW, SE, SW immediately after the streetNo, it should capture that value and store it the the DirectionPrefix column.
Thirdly. All the value found immediately after the N, E, W, S, NE, NW, SE, SW, if there are any, should be store in a new column (StreetName). The scripts does the count until it find a Street Type (Road, Avenue, Blvd). but this value will be include a street type.As for the example above - Street.
Fourth. The script will capture the street type for that road. as for the example above - Street.
Fifth. Search if any N, E, W, S, NE, NW, SE, SW exist immediately after the street type. if yes, capture and place that into another column.
Sixth. Everything after the Fifth step should be capture and placed into the sixth columm.
Thank you.
Comment