Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Capitalization #11

Open
allthesignals opened this issue Feb 12, 2020 · 0 comments
Open

Handle Capitalization #11

allthesignals opened this issue Feb 12, 2020 · 0 comments

Comments

@allthesignals
Copy link
Collaborator

@chriswhong commented on Tue Jan 09 2018

Raw data in PAD contains street names in all capitals. We should explore ways to smartly modify case during import so that the results are prettier.


@andycochran commented on Tue Jan 16 2018

This is tough. Changing the case of street names will require a loooooong list of exceptions and special cases.

This thread mentions using services like SmartyStreets to handle it:
https://stackoverflow.com/questions/7908567/address-capitalization

It also mentions passing the streets to the Google Maps API to get the proper capitalization.

SmartStreets is on GitHub, so we could research their repos and see how they're doing it. Maybe we can use similar methods to handle the capitalization ourselves.


@andycochran commented on Tue Jan 16 2018

^ Worth noting in that thread:

USPS dictates that a correct address must be in all caps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant