18F / data-act-pilot

This small DATA Act pilot contains code that translates agency data to a uniform DATA act format.
Other
21 stars 14 forks source link

research questions: data relationships #36

Closed bsweger closed 9 years ago

bsweger commented 9 years ago

Data relationship questions from Sprint 1.

bsweger commented 9 years ago

From this morning's conversation with Sunil and Kavya:

In Prism, each grant has a docnum. Every time the grant is modified, it's logged in the header table with a new vernum (i.e., the primary key of the header is DOCNUM + VERNUM). To get the total obligated amount of a grant, you need to add up the amounts on all of the award's vernum records.

As for duplicated records in PO_HEADERS_ALL, they reflect the way that data was pulled from the source (i.e., original query was likely going through a more detailed tabled). We can safely ignore these: Sunil confirmed that PO_HEADER_ID is unique.

We have the answers, so closing this one.