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

explore Direct link to NRCED from auth details page for C&E information #302

Closed
mishraomp opened this issue Nov 7, 2024 · 6 comments
Closed
Assignees
Labels
research Further investigation is required

Comments

@mishraomp
Copy link
Contributor

@dawnbcgov , for you it is just fyi...

Found this API link to query data, which could be explored.

docs:

https://nrpti-api-f00029-prod.apps.silver.devops.gov.bc.ca/api/docs

call from UI

https://nrpti-api-f00029-prod.apps.silver.devops.gov.bc.ca/api/public/search?dataset=OrderNRCED,InspectionNRCED,RestorativeJusticeNRCED,AdministrativePenaltyNRCED,AdministrativeSanctionNRCED,TicketNRCED,WarningNRCED,CourtConvictionNRCED,CorrespondenceNRCED,DamSafetyInspectionNRCED,ReportNRCED&pageNum=0&pageSize=25&sortBy=-dateIssued&fields=

RE: NRCED... We were told that one of the facilities recently had a pollution order, so were exploring how to search and view that info. This is my chat with Harry:

I think I found the pollution order: https://nrced.gov.bc.ca/records;autofocus=668eb323556fa0001bbe7850
so now I want to see if it's in ams Oops no, this one: https://nrced.gov.bc.ca/records;autofocus=66390d74fed9710022e8b7ce
No.
BUT/AND using the auth to search only grabs inspections: 111557
https://nrced.gov.bc.ca/records;keywords=111557;ms=486;currentPage=1;pageSize=25;sortBy=-dateIssued
Other search: https://nrced.gov.bc.ca/records;keywords=111557%20OR%20%22G.T.%20FARMS%20LTD.%22;ms=569;currentPage=1;pageSize=25;sortBy=-dateIssued

Natural Resource Compliance and Enforcement Database

Repeating my point from the call: in NRCED some enforcement actions are by auth #, some are by name. We may want to dig in with a application analyst with more details about how to do sophisticated queries

@mishraomp mishraomp added the research Further investigation is required label Nov 7, 2024
@mishraomp
Copy link
Contributor Author

@imsunchips , looping you in, since this is a data integration

@mishraomp
Copy link
Contributor Author

grab this property from json array, for each element, to map directly to URL in NRCED.

_id: "662a8ceaf460520022de9a09",

for ex: https://nrced.gov.bc.ca/records;autofocus=662a8ceaf460520022de9a09

@dawnbcgov
Copy link
Contributor

dawnbcgov commented Nov 7, 2024

@dawnbcgov

  • check with harry what fields from this we need / want to display on the authorizations details page

@dawnbcgov
Copy link
Contributor

Also I guess we have #260 for feature work once an approach is finalized?

@dawnbcgov
Copy link
Contributor

@harryaolson is mocking up the decided approach! I will close this and we can use #260 for tracking feature development per my comment above 🎉

@github-project-automation github-project-automation bot moved this from Ready to Test / Review to Done in Organics Info Backlog (EPD Digital Services) Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research Further investigation is required
Development

No branches or pull requests

4 participants