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

Create opportunity tables in analytics db #2934

Closed
5 tasks
mxk0 opened this issue Nov 19, 2024 · 5 comments · Fixed by #3081
Closed
5 tasks

Create opportunity tables in analytics db #2934

mxk0 opened this issue Nov 19, 2024 · 5 comments · Fixed by #3081
Assignees

Comments

@mxk0
Copy link
Collaborator

mxk0 commented Nov 19, 2024

Summary

Create tables based on the decision made in #2933

Acceptance criteria

Tables:

  • opportunity (3)
  • opportunity_summary (4)
  • current_opportunity_summary (5)
  • lk_opportunity_status (1)
  • lk_opportunity_category (2)
@mdragon
Copy link
Collaborator

mdragon commented Nov 27, 2024

@babebe I think these four should cover it, but if there's any additional tables you think we need or find would be helpful as you build these out, please let me know.

@babebe babebe moved this from Todo to In Progress in Simpler.Grants.gov Product Backlog Dec 2, 2024
@mdragon
Copy link
Collaborator

mdragon commented Dec 2, 2024

@chouinar now that you're back, can you just double-check me on this list to make sure I didn't miss anything critical to this first pass?

@chouinar
Copy link
Collaborator

chouinar commented Dec 2, 2024

If you want the agency names in any reports, you would also want the agency table. Otherwise, that should be enough for count of opportunity by status - technically the summary table could also be excluded as the status is stored in the current_opportunity_summary table, but the summary table has most of the interesting info about an opportunity that I could see some queries built for.

@babebe
Copy link
Collaborator

babebe commented Dec 3, 2024

@mdragon do we want agency names?

@babebe babebe moved this from In Progress to In Review in Simpler.Grants.gov Product Backlog Dec 3, 2024
@mdragon
Copy link
Collaborator

mdragon commented Dec 3, 2024

@babebe lets go without Agency for this ticket and if we're making good progress we can consider doing agency in a separate ticket now or later when needed.

babebe added a commit that referenced this issue Dec 4, 2024
## Summary
Fixes #{[2934](#2934)}

### Time to review: __10 mins__

## Changes proposed
Migration file to copy initial opportunity tables.

1. lk_opportunity_status
2. lk_opportunity_category
3. opportunity
4. opportunity_summary
5. current_opportunity_summary 


Added documentation for future reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

4 participants