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

Eliminate line breaks in recipient address #261

Open
morchickit opened this issue Apr 12, 2019 · 1 comment
Open

Eliminate line breaks in recipient address #261

morchickit opened this issue Apr 12, 2019 · 1 comment
Assignees

Comments

@morchickit
Copy link
Contributor

"Eliminate line breaks in recipient address and other fields; street address should be on one line and should not contain the city and country of the recipient.
Feedback from the Foundation Center. Anyway, Can CoVE check street address fields only contains street and not city and country?

@robredpath
Copy link
Contributor

Anyway, Can CoVE check street address fields only contains street and not city and country?

I don't think we can do this directly, but we could use a proxy. For example, we could make an additional check that flagged multiple commas and/or line breaks in the address field. We could try to come up with a rule that looked for known city or county names at appropriate places, but it's very hard to do that in a way that doesn't create tons of false positives or is so inaccurate as to be useless - to a computer, what's the difference between "51, London Road" and "41 Nottingham Road, London Borough of Islington"?

Just a format check might get us a good amount of the way through, though. I've added OpenDataServices/cove#1176

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

2 participants