usaspending-api icon indicating copy to clipboard operation
usaspending-api copied to clipboard

Multiple csv files in zip file

Open seraphx2 opened this issue 6 years ago • 3 comments

I have provided a generated file. If you download it, you can see multiple files with the same name packaged inside.

This would be fine with unique keys if the subaward data actually had something reliable you could combine into a composite key (since a combination of SubAward and PrimaryAward IDs can be duplicated). However, still not ideal, since I would not normally expect this behavior.

all_prime_awards_subawards_20190127061559.zip

seraphx2 avatar Jan 27 '19 16:01 seraphx2

We have created an improvement request to address this situation. You may follow progress on this here: https://federal-spending-transparency.atlassian.net/browse/DEV-2090.

Which API Endpoint produced these results? We'd like to add it to the ticket.

lisaam avatar Feb 01 '19 20:02 lisaam

v2/download/awards

seraphx2 avatar Feb 01 '19 20:02 seraphx2

This isn't currently a general issue with the awards endpoint, and download files don't contain records of the query used. If you still recall, could you provide the payload sent to the endpoint if this bug arose from calling the endpoint directly, or the steps to reproduce if it was the result of using the usaspending.gov website?

BrianZito avatar Jul 16 '19 12:07 BrianZito