Sub Account Code
A coded sub-account identifier within the Treasury account symbol recorded for an Other Transaction Award. It is a component of the larger Treasury account structure and is used to distinguish a specific sub-account rather than describe the transaction in plain language.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
Common Usage
- Grouping awards by Treasury account components
- Reconciling funding or account references across FPDS records
- Filtering records tied to a specific sub-account code
Common Mistakes
- Assuming the code is a fiscal object or appropriation amount
- Interpreting the code without its parent Treasury account context
Query Guidance
Use this field as a join or filter key only when the parent Treasury account fields are also included, since the code is meaningful in combination with the full account symbol. In SQL, normalize for blanks, leading zeros, and nulls, and group by the complete Treasury account structure rather than this field alone.
SQL Examples
Preview values
SELECT
content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS sub_account_code
FROM fpds.data
WHERE content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode IS NOT NULL
LIMIT 25
Top values
SELECT
content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode AS value,
count() AS record_count
FROM fpds.data
WHERE content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__subAccountCode IS NOT NULL
GROUP BY value
ORDER BY record_count DESC
LIMIT 25
Each dictionary item includes SQL-ready examples generated alongside the variable metadata, allowing immediate use in FPDS Query for filtering, aggregation, and analysis.