Department Id
Identifier for the department associated with the contracting office agency in an Other Transaction Award record. It is a coded reference value, not a free-text department name, and typically represents the top-level departmental entity for the purchasing organization.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
Common Usage
- Aggregate awards by department
- Filter purchases to a specific department
- Join to department reference tables or code lists
Common Mistakes
- Interpreting the code as a department name
- Using it alone without validating the corresponding code set or description
Query Guidance
Use as a coded filter or join key, for example in WHERE clauses for department-specific analysis and in GROUP BY for departmental rollups. If the dataset includes a related description field or lookup table, join to that reference for readable reporting instead of hard-coding assumptions about the numeric value.
SQL Examples
Preview values
SELECT
content__OtherTransactionAward__contractDetail__purchaserInformation__contractingOfficeAgencyID__departmentID AS department_id
FROM fpds.data
WHERE content__OtherTransactionAward__contractDetail__purchaserInformation__contractingOfficeAgencyID__departmentID IS NOT NULL
LIMIT 25
Top values
SELECT
content__OtherTransactionAward__contractDetail__purchaserInformation__contractingOfficeAgencyID__departmentID AS value,
count() AS record_count
FROM fpds.data
WHERE content__OtherTransactionAward__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.