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

[Forecasted Pipeline] Modify grants-ingest.js to account for forecasted fields #3379

Open
masimons opened this issue Aug 13, 2024 · 1 comment
Assignees
Labels
Grant Finder Issues related to the Grant Finder

Comments

@masimons
Copy link
Contributor

masimons commented Aug 13, 2024

In the usdr-gost repo, there is a function called mapSourceDataToGrant located in the grants-ingest.js file.

Add:

const grant = {
  ...
  grantor_contact_name: source.grantor.name,
  grantor_contact_phone_number: source.grantor.phone,
  fiscal_year: source.fiscal_year,
}

grant.forecast_creation_date = milestones.forecast_creation_date
grant.project_start_date = milestones.estimated_start_date
grant.award_date = milestones.award_date

@masimons masimons self-assigned this Aug 13, 2024
@masimons masimons added the Grant Finder Issues related to the Grant Finder label Aug 13, 2024
@masimons masimons changed the title Modify grants-ingest.js to account for forecasted fields [Forecasted Pipeline] Modify grants-ingest.js to account for forecasted fields Aug 13, 2024
@masimons
Copy link
Contributor Author

masimons commented Sep 3, 2024

@TylerHendrickson would you mind making sure i'm on the right track here with these mappings? :) Definitely open to chatting about any changes you have in mind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grant Finder Issues related to the Grant Finder
Projects
Status: 👀 In review
Development

No branches or pull requests

1 participant