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

Duplicate entries in database, Table III C #202

Open
MostlyHarmless420 opened this issue Jun 21, 2016 · 3 comments
Open

Duplicate entries in database, Table III C #202

MostlyHarmless420 opened this issue Jun 21, 2016 · 3 comments
Labels

Comments

@MostlyHarmless420
Copy link

I was experiencing anomalies querying the publicly available treasury.io SQL database. I discovered they originate because there are duplicate entries in the database in Table III C on these 5 dates.

The dates are:
2014-3-31
2014-5-30
2014-7-30
2016-2-08
2016-2-29

I do not know if other dates or tables were afffected

@cezary4
Copy link

cezary4 commented Jun 21, 2016

Thanks Shaun. Can you give us an example? Is it individual line items or
all entries for any given day?

Cezary

On Tue, Jun 21, 2016 at 11:50 AM, ShaunBristol [email protected]
wrote:

I was experiencing anomalies querying the publicly available treasury.io
SQL database. I discovered they originate because there are duplicate
entries in the database in Table III C on these 5 dates.

The dates are:
2014-3-31
2014-5-30
2014-7-30
2016-2-08
2016-2-29

I do not know if other dates or tables were afffected


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#202, or mute
the thread
https://github.com/notifications/unsubscribe/AC28VaAJFIVcWvvrkN3ZuPdufCsCpMD9ks5qOAgtgaJpZM4I644y
.

Cezary Podkul | @cezary
Mobile: (708) 228 1319
Web: cezarypodkul.com

@MostlyHarmless420
Copy link
Author

MostlyHarmless420 commented Jun 21, 2016

It seems to be all entries on those dates in the table. I verified using the treasury.io query builder and I get two identical rows for each item (There is usually only one for other dates).

Using the SQL command:
SELECT *
FROM
t3c
WHERE ("date" == '2016-02-08') AND "item" == "Intragovernmental Holdings"

returns 2 rows when I expected 1

@cezary4
Copy link

cezary4 commented Jun 22, 2016

That'a strange. There must be some new wrinkle that appeared in the text
files that day which the parser did not pick up. I will investigate. Thanks
for flagging and let us know if you spot the issue for other days as well.

Cezary

On Tuesday, June 21, 2016, ShaunBristol [email protected] wrote:

It seems to be all entries on those dates in the table. I verified using
the treasury.io query builder and I get two identical entries for each
item (There is usually only one for other dates).

E.g.
SELECT *
FROM
t3c
WHERE ("date" == '2016-02-08') AND "item" == "Intragovernmental Holdings"


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#202 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AC28VdBL1FLtKms1O455hNfGPmVRbmJRks5qOBDngaJpZM4I644y
.

Cezary Podkul | @cezary
Mobile: (708) 228 1319
Web: cezarypodkul.com

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

No branches or pull requests

3 participants