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

Save ORI codes to database #27

Open
leszakal opened this issue Oct 31, 2024 · 0 comments
Open

Save ORI codes to database #27

leszakal opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@leszakal
Copy link
Contributor

Current implementation of the FBI API calls relies on looking up the Originating Agency Identifier (ORI) code of each search, using the location as a proxy for the agency name. We should save these codes to the backend to reduce the amount of API calls required. Two ways that this could be done are:

  1. Check if the ORI code exists in our database and if not, call the getORI() function and save it
  2. Write a script to parse and save all ORI codes returned by the FBI API's agency endpoint

See the following link for more information on the FBI API: https://cde.ucr.cjis.gov/LATEST/webapp/#/pages/docApi

@leszakal leszakal self-assigned this Nov 19, 2024
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