-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add org type, designation to Schedule A and B tables #3787
Comments
Thanks for entering this issue, @dorothyyeager! After speaking with @PaulClark2, we need organization type and designation in addition to committee type to filter by SSF's and Leadership PACs. We'd need to add these to Schedule A in order to filter by them, which is a big lift. For now, think we should remove those options from the receipts/individual contributions datatables, since they don't work. |
I'll go ahead and copy this to the CMS to remove the filters as a short-term workaround. |
This includes joint fundraising committees. For the statistical releases we exclude joint fundraising committees. Separate Segregated Funds (SSFs): Nonconnected Committees: This sql is similar to what I use for the statistical releases. This sql includes joint fundraising committees.
|
The CMS issue is already here: fecgov/fec-cms#2913 |
We should consider asking the database team whether they'd rather do this at the same time as the DB updates for #3798 |
org_tp and cmte_dsgn are in cmte_valid_fec_yr |
org_tp and cmte_dsgn columns had been added to fec_fitem_sched_a and fec_fitem_sched_b tables. It is better to keep this concise name of the columns
|
@fecjjeng sounds good! I think the WIP PR has those column names. https://github.com/fecgov/openFEC/pull/3837/files |
The following is a summary of the steps need to be done for this ticket. A document with more detail named ADD_UPDATE_ORG_TP_COLUMNS.txt is in the shared drive.
NOTE: These columns will be added to all 3 cloud environment ahead of time at the same time since
The migration file will be submitted and merged AFTER the actual tasks (add column, backfill data, create indexes) had been done. Therefore it need to be written in a specific way so it will not error out IF the columns and indexes already exists. -- *************************************************** -- *************************************************** -- *************************************************** -- get "BEFORE UPDATE" size -- *************************************************** -- *************************************************** -- get "AFTER UPDATE" size -- **************************** -- **************************************************** For those few rows, the tsvector columns are not updated. Use the following statement to update them. -- **************************** -- **************************** select tablename, indexname -- *************************************************** |
DEV/STG/PRD databases had been backfilled, indexes created. Following is the summary of time consumed/space increased by this task. Local backup database: DEV: STG: PRD: |
Unblock #3841 and moved it to ready column. |
A CMS ticket fecgov/fec-cms#3054 had been opened to add the filter back on. |
User story I was trying to search all contributions and disbursements made to corporate SSFs in 2019-2020 and set filter accordingly. The results appeared to yield a list of contributions made to all types of committees. The first results in this screenshot, for example, show contributions to a candidate and to a labor organization SSF.
To do
org_tp
(Call itorg_type
) andcmte_dsgn
(call it committee_designation) columns to Schedule A and B tables.The text was updated successfully, but these errors were encountered: