CodeForPhilly / CodeForPhilly/benefit-decision-toolkit

Make state and county lookups resilient against non-conformant data

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
15
Forks
5
Avg merge
1d 2h
Merged PRs (30d)
23

Description

County names in the locations database are formatted like: "Montgomery".

Right now our lookups rely on an exact match, so the following wouldn't work:
"montgomery"
"MONTGOMERY"
"Montgomery "
"Mont."

So we'd like to be more resilient:
- [ ] Make state and county lookups case-insensitive
- [ ] Trim whitespace from name before performing lookup
- [ ] Maybe: explore fuzzier searching (sql "like" clause?) so "Mont." matches

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.