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 question: mapping pilot DATA Act element names to v .5 of the DATA Act standard #156

Open bsweger opened 8 years ago

bsweger commented 8 years ago

For story #148 (confirm flat file mappings to draft of the DATA Act standard in XBRL form), we're producing a flat file-->XBRL crosswalk for each of the four files being used in this pilot: https://github.com/18F/data-act-pilot/tree/master/mappings

Summary

This is summarized list of findings. Scroll down for more details.

This exercise raises the following research questions.

Note: This issue isn't meant to address discrepancies we can code around until the element names are synced up. For those, we coded in a temporary crosswalk.

Award ID

The award flat file template used in this pilot specifies different data element names for an award identifier:

The .xsd files (i.e., schema docs) that accompany the XBRL format specify one data element called awardID, regardless of award type. This is consistent with the finalized definitions of Award Identification Number.

Current Action for Sprint 9: Map fain to awardID, since we're only using grant data

Suggestions:

Similarly, there are a few other elements in the pilot award flat file template that are applicable to a specific award type but ultimately map to the same element in the data standard.

Current Action for Sprint 9: Map grant-related fields to the award-type-agnostic element names in the data exchange standard

Suggestions:

The Element: Award Type, Action Type, Record Type whitepaper lists several contract-related fields as components of transaction type (i.e., typeOfTransactionCode in the data standard draft).

The text is a bit confusing. I understand that Infinite Delivery Vehicle and Contract Award Type values are mutually exclusive. How does Type of Contract Pricing fits into typeOfTransactionCode?

Current Action for Sprint 9: None needed - we're not using contract data

Suggestions:

The Element: Award Type, Action Type, Record Type whitepaper describes a prime award as:

the highest level of award for which funding will be summarized and for which more detailed information will be made available

Current action for sprint 9: Ignore FederalPrimeAward when converting to XBRL unless we can identify a target element.

Question: How do FederalPrimeAward values (grant, loan, cooperative agreement, other, and contract) map to the data standard?

Awarding and Funding Office

The data standard draft (specifically, da-gen-2015-06-29.xsd) defines agencyOfficeComplexType. However, I don't see it referenced in any of the award .xsd files (da-award-content-2015-06-29.xsd, da-finassist-content-2015-06-29.xsd, or da-procurement-content-2015-06-29.xsd).

Current action for sprint 9: Awarding and funding office information will not be converted to XBRL unless we can identify the target elements.

Question: Does the current data standard draft include the following elements? If not, will they be included in a future revision?

Noticed a few inconsistencies between gen:addressComplexType as defined in the data standard and recipient address information in the pilot's award flat file template:

Current action for sprint 9:

Suggestions:

Need clarification about how this info is handled in the draft data standard.

Current action for sprint 9: None, since we're working with grants data.

Questions:

micahsaul commented 8 years ago

Just noticed that the TAS as defined in the .5 schema uses a complex Agency type for agency as opposed to just AgencyIdentifier. Is this correct?

micahsaul commented 8 years ago

XBRL has award.awardAmounts.federalFundingAmount, but not sure what this maps to in the CSVs.