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

Ability to query /api/v2/download/awards/ using BASE action date #3670

Open
glenrsmithjr opened this issue Jan 3, 2023 · 0 comments
Open

Comments

@glenrsmithjr
Copy link

glenrsmithjr commented Jan 3, 2023

Hello,

I'm attempting to query the above endpoint with the following request body:
{ "filters": { "agencies": [ { "type": "awarding", "tier": "toptier", "name": "Department of Defense" } ], "time_period": [ { "date_type": "action_date", "start_date": start_date.strftime("%Y-%m-%d"), "end_date": end_date.strftime("%Y-%m-%d") } ] }, "limit": 500000 }

where start_date and end_date are typically one month apart. I'm noticing in the results that the date_type of "action"date" queries on the "award_latest_action_date" field and not the "award_base_action_date".

Is there a way to search by the base action date? Searching on the latest action date is unfortunately unreliable for searching on a specific range as this value seems to change over time. The number of results returned from month to month is always wildly variable since it's not based on the number of new awards for that time period. Thank you.

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

No branches or pull requests

1 participant