-
Notifications
You must be signed in to change notification settings - Fork 106
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
Individual contributions by state aggregate doesn't equal sum of transactions #3802
Comments
The From the download (described above:
From the database
|
|
Adding WHERE disclosure.fec_fitem_sched_a.contb_receipt_dt >= '1/1/2019'
AND disclosure.fec_fitem_sched_a.contb_receipt_dt <= '12/31/2020' to the query: select receipt_tp, count(*), sum(contb_receipt_amt)
from disclosure.fec_fitem_sched_a
where cmte_id = 'C00695510'
and contbr_st = 'CA' and is_individual is true group by receipt_tp; yields:
[edited for formatting] |
There are transactions for the 2020 select contb_receipt_dt, count(*)
from disclosure.fec_fitem_sched_a
where two_year_transaction_period = 2020 and receipt_tp = '15J'
and cmte_id = 'C00695510'
and contbr_st = 'CA'
and is_individual is true
group by contb_receipt_dt order by contb_receipt_dt; [edited for formatting] |
referencing fecgov/fec-cms#2811 to determine if related / blocking |
Need to write fec-cms pytest as part of this bug to test blocker fecgov/fec-cms#2811 |
PR has been merged to the release branch |
Bug
Individual contributions by state aggregate doesn't equal the sum of supporting transactions.
Expected Behavior
Individual contributions by state aggregate should equal the sum of supporting transactions.
How to Reproduce
I'm looking at individual contributions by state for C00695510 ( https://www.fec.gov/data/committee/C00695510/?cycle=2020&tab=raising). Select
state
then look at California, $1,230,898.16. Now click through to the supporting transactions and download them. Sumcontribution_receipt_amount
(column AH), $872,589.26.I checked three additional committees. Two, C00698258 (checked CO) and C00697441 (checked CA), had equal amounts by state and from the sum of the transactions. One, C00213512 (checked CA), did not have equal amounts by state and from the sum of the transactions
The text was updated successfully, but these errors were encountered: