fedspendingtransparency / usaspending-api

Server application to serve U.S. federal spending data via a RESTful API
https://www.usaspending.gov
Creative Commons Zero v1.0 Universal
304 stars 108 forks source link

Bulk download only Award data and not the transactions data #2565

Open sutharmonil opened 4 years ago

sutharmonil commented 4 years ago

Hello, When I use this endpoint: https://api.usaspending.gov/api/v2/bulk_download/awards/ And pass request data as: { "filters": { "agency": "all", "prime_award_types": ["A", "B", "C", "D"], "sub_award_types": ["grant","procurement"], "date_range": { "start_date": "2017-01-01", "end_date": "2017-12-31" }, "date_type": "action_date" } }

I do get all the data for the year 2017, but it includes the transaction data as well. And that makes the award unique key repeat multiple times depending on the number of transactions.

Is there a way to just get the Award data with the latest or the original transaction only? What I am expecting is that the award unique key be unique through out the files. Is this possible to do?

Thanks in advance!

ninjaaa94 commented 1 year ago

Would like this feature as well