Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #54: Data Prep Address Parsing

ahess
7 - Meteor
 
Chhamanshu
7 - Meteor
 
KMiller
8 - Asteroid

I went for a scalable solution that automatically assigned the city based on a match of the last one or two words before the state and the state, using a list of all states and cities which I found online. I works for these instances but perhaps not a larger population, depending on city name variety.

lguardiova
5 - Atom

Solution attached and a data clean up added at the end :)

NNO
7 - Meteor
 
danrh
13 - Pulsar
 
jssandom
8 - Asteroid

My solution!

Breanne
7 - Meteor

Completed!

payam2
8 - Asteroid

There is probably also there is a way to use Google Search/Maps API to quickly check an address and suggest the correct format, and even picking up the missing ZIP codes, but too advanced for me at the moment!

Natania
7 - Meteor

I definitely took the longer route.