Closed dmullen17 closed 5 years ago
Be sure to only send emails to awards with the active flag set, and not to closed ones.
Matt
On Tue, Jul 24, 2018 at 12:45 PM, Dominic Mullen notifications@github.com wrote:
How far back in time should the initial request to the NSF API go? For instance we can look for all awards < 2 years old and send initial correspondence emails. We could also set up some conditions, for instance:
- for all awards < 1 year old send an initial correspondence + annual report email
- for all awards > 1 year old send annual report due date email
Even with the above conditions we still need to decide how far in the past we want to query for NSF awards.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NCEAS/awards-bot/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuxx51PgTvDBKt27w5IkpVVb6Kjwlcmks5uJ3lYgaJpZM4VdW2W .
@mbjones the bot has that logic. So you'd like us to contact all active NSF awards regardless of how far back they started? We can discuss more on the ADC friday call as well - it's on the agenda.
If an award is passed its expDate
according to www.research.gov/common/webapi/awardapisearch-v1.htm we consider it "closed". Otherwise, we assume it is "active". Please correct us if this logic is flawed or needs refinement.
Which emails should we send @mbjones ? Have you sent the drafts to NSF yet? Two weeks ago, you said this was a priority for NSF and to hurry to prepare the email language so it could be approved by them.
Contact proposal:
General contact:
Initial contact for already active awards:
This contains a summary of the active awards along with flags if they have one month remaining, started within the past year, or are already documented. active_awards.xlsx
How far back in time should we go for the initial round of NSF award correspondences? For instance we can look for all awards < 2 years old and send initial correspondence emails. Or we could look for all non-expired awards and set up some email conditions, for instance:
Once the bot is up and running it will take care of new awards by itself, but we need to decide how to handle contacting existing NSF awards so as not to inundate them with emails at once.