CDLUC3 / dmsp_aws_prototype

Sceptre CloudFormation templates for DMPHub v2
MIT License
1 stars 0 forks source link

Build hooks into the NIH and NSF APIs #28

Closed briri closed 1 year ago

briri commented 1 year ago

Hook into the NSF and NIH APIs to discover information about a grant

See Dryad examples: NIH - https://github.com/columbia-it/covid-infocommons/blob/main/harvester/nih_harvester.py NSF - https://github.com/columbia-it/covid-infocommons/blob/main/harvester/nsf_harvester.py

This work should be done in a Lambda that can be triggered by Event Bridge or called via the API (in the case of the UI trying to pre-populate info ... for example when user selects NIH as the funder, display a search for the Grant/Award ID, if the user selects one, pull relevant info from the API and pre-populate the page if possible)

briri commented 1 year ago

It looks like we can use a combination of the PI name, some project keywords and a date range to find Award information for the first 3 funders: