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

OpEx: Congressional Budget Justification reports for 2024 #5605

Merged
merged 7 commits into from
Dec 4, 2024

Conversation

jimlerza
Copy link
Collaborator

Updated the existing count-event-codes-by-year and event-codes-by-year reports to output data over fiscal year periods and added a new cases-closed-in-year report that outputs a spreadsheet of all cases closed in the provided year (regardless of future activity). This required the addition of a new elasticsearch mapping for case history.

…cripts to accept a --fiscal flag to optionally output data over a fiscal year period, and added a cases-closed-in-year report with the same --fiscal flag. adjusted to use node:util parseArgs for parameter parsing
@jimlerza jimlerza added to staging Mappings Change(s) Contains changes to OpenSearch mappings labels Nov 27, 2024
Copy link
Collaborator

@jtdevos jtdevos left a comment

Choose a reason for hiding this comment

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

I tried executing ./scripts/reports/event-codes-by-year.ts m071 against both test and prod, however I get an error.

error:	index_not_found_exception: [index_not_found_exception] Reason: no such index [efcms-case-23fac66c11e370427a4cf7a2e75f05de]

Besides npm ci and setting the env, is there a trick to getting it to work?

@jimlerza
Copy link
Collaborator Author

jimlerza commented Dec 4, 2024

Besides npm ci and setting the env, is there a trick to getting it to work?

This PR includes mappings changes. I reindexed in both test and prod to create indices with these mappings changes but subsequent builds have removed those indices. They'll be recreated once this is merged through.

@jimlerza jimlerza merged commit ee0e68e into staging Dec 4, 2024
14 checks passed
@jimlerza jimlerza deleted the opex-cbj-stats-2024 branch December 4, 2024 20:37
@jimlerza jimlerza mentioned this pull request Dec 6, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mappings Change(s) Contains changes to OpenSearch mappings Review Please to staging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants