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

Ignore whitespace in name search #846

Open
brianmwaters opened this issue Oct 22, 2020 · 1 comment
Open

Ignore whitespace in name search #846

brianmwaters opened this issue Oct 22, 2020 · 1 comment

Comments

@brianmwaters
Copy link
Collaborator

In the NYPD data, some cops w/ two-word last names, have their names represented as one word. For example, Charles M. van Vooren is represented as "Carles M. VANVOOREN". A user who types "van vooren" into any of the search filters won't find him; they need to type "vanvooren". The fix is to ignore whitespace.

@abandoned-prototype
Copy link
Collaborator

Adding on to this, ignoring anything that isn't in the Latin alphabet (a-z) would probably be helpful. I just worked with a data set that had several first names that include ' as well as hyphenated last names. And I don't image a US police department ever use letters from other alphabets in names, so ignoring anything but a-z shouldn't have any negative consequences

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