Main Account Code
Coded identifier for the Treasury main account associated with the funding source tied to this Other Transaction Award. It represents the primary account within the Treasury Account structure rather than a narrative description.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
Common Usage
- Linking awards to Treasury funding accounts
- Grouping obligations by appropriation or main account
- Filtering awards funded from a specific account code
Common Mistakes
- Assuming the code is descriptive text
- Normalizing away leading zeros or comparing as numeric
Query Guidance
Use the field as a string key in WHERE, GROUP BY, or JOIN clauses, and match on exact text values after trimming only if source data quality requires it. When possible, pair it with the corresponding account description or symbol fields to confirm meaning and avoid misclassification.
SQL Examples
Preview values
SELECT
content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode AS main_account_code
FROM fpds.data
WHERE content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode IS NOT NULL
LIMIT 25
Top values
SELECT
content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode AS value,
count() AS record_count
FROM fpds.data
WHERE content__OtherTransactionAward__contractDetail__contractData__listOfTreasuryAccounts__treasuryAccount__treasuryAccountSymbol__mainAccountCode 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.