Open JayZer0 opened 8 years ago
How do you want to handle the facility mapping? Like you said, the options are either migrate the current values to use the DOC/FBOP conventions, or add another mapping behind the scenes to map the DOC/FBOP conventions to the BTP conventions.
I'm fine with either -- do you know if there's a list of the FBOP / DOC facilities in their conventions somewhere?
We can also do a thing where we just fuzzy-match the name we get from the FBOP/DOC site against the list of facilities already in the BTP system. Since there aren't that many and they're named pretty distinctly, this would probably work most of the time.
I think fuzzy mapping is fine
Thanks Jay
On Sunday, March 20, 2016, Tom Wiltzius notifications@github.com wrote:
We can also do a thing where we just fuzzy-match the name we get from the FBOP/DOC site against the list of facilities already in the BTP system. Since there aren't that many and they're named pretty distinctly, this would probably work most of the time.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/wiltzius/btp-lemur/issues/5#issuecomment-199012785
Should be integrated into Edit Inmate workflow or maybe something that can be done from search results directly when location info in our db do not match DOC/FBOP query response. Requires either remapping & migrating our current location data to DOC/FBOP naming conventions or other schema / logic changes to allow the values.