Skip to content

33282 - New onboarding BI notebook to include stats around the filings done in the modernized system#4365

Open
ketaki-deodhar wants to merge 3 commits into
bcgov:mainfrom
ketaki-deodhar:33282
Open

33282 - New onboarding BI notebook to include stats around the filings done in the modernized system#4365
ketaki-deodhar wants to merge 3 commits into
bcgov:mainfrom
ketaki-deodhar:33282

Conversation

@ketaki-deodhar
Copy link
Copy Markdown
Collaborator

@ketaki-deodhar ketaki-deodhar commented May 8, 2026

Issue #: /bcgov/entity#33282

Description of changes:
Create a new onboarding BI notebook to include following columns which will be derived from colin extract and business db

Sheet format:

image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 8, 2026

@ketaki-deodhar ketaki-deodhar changed the title 33282 33282 - New onboarding BI notebook to include stats around the filings done in the modernized system May 8, 2026
@ketaki-deodhar ketaki-deodhar self-assigned this May 11, 2026
@ketaki-deodhar ketaki-deodhar marked this pull request as ready for review May 11, 2026 15:04
" FROM businesses b\n",
" JOIN filings f ON b.id = f.business_id\n",
" WHERE\n",
" f.status = 'TOMBSTONE'\n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably check against the filing_type being ='lear_tombstone'.

filing.status can change to "BACKFILLED" after we backfill the historical data. If this happened, the current code would exclude all businesses that have had historical data backfilled.

Comment on lines +122 to +123
" STRING_AGG(f.filing_date::text, ', '), ''\n",
" ) AS \"{column_names['filing_date']}\"\n",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you check with Vikas what date format he wants for the filing date. In current form of the migration status spreadsheet, we don't include timestamp

Copy link
Copy Markdown
Collaborator

@argush3 argush3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

just the 2 things i mentioned

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

Successfully merging this pull request may close these issues.

2 participants