Department Id
Code identifying the department-level agency for the contracting office associated with the Other Transaction IDV. It is an organizational identifier, not a narrative description, and typically appears as a numeric or abbreviated code such as 9700.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
Common Usage
- Group awards by department-level contracting office
- Join to agency reference tables or hierarchy maps
- Filter transactions for a specific department code
Common Mistakes
- Assuming the code is a department name or description
- Casting the value to numeric when leading zeros may be meaningful
Query Guidance
Use this field as a join and filter key in WHERE, GROUP BY, and JOIN clauses. If you need human-readable output, pair it with a department name or agency description field; do not aggregate by the code unless you intend to analyze at the department-code level.
SQL Examples
Preview values
SELECT
content__OtherTransactionIDV__contractDetail__purchaserInformation__contractingOfficeAgencyID__departmentID AS department_id
FROM fpds.data
WHERE content__OtherTransactionIDV__contractDetail__purchaserInformation__contractingOfficeAgencyID__departmentID IS NOT NULL
LIMIT 25
Top values
SELECT
content__OtherTransactionIDV__contractDetail__purchaserInformation__contractingOfficeAgencyID__departmentID AS value,
count() AS record_count
FROM fpds.data
WHERE content__OtherTransactionIDV__contractDetail__purchaserInformation__contractingOfficeAgencyID__departmentID 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.