Agency Id
Identifier for the agency associated with the referenced IDV contract. It is the coded agency key used in the FPDS contract identifier structure, not a narrative agency name.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
Common Usage
- Join referenced IDVs to agency reference tables or agency names
- Group contract activity by owning or referencing agency
- Filter awards tied to a specific agency-issued IDV
Common Mistakes
- Confusing the agency code with the descriptive agency name
- Using the value as a unique contract identifier instead of an agency component of the referenced IDV key
Query Guidance
Use this field as a key for joins and aggregation, typically with other contract ID components such as PIID, modification ID, and office/agency reference fields. When filtering or reporting, confirm whether the analysis needs the referenced IDV agency or the awarding agency, since those can differ.
SQL Examples
Preview values
SELECT
content__IDV__contractID__referencedIDVID__agencyID AS agency_id
FROM fpds.data
WHERE content__IDV__contractID__referencedIDVID__agencyID IS NOT NULL
LIMIT 25
Top values
SELECT
content__IDV__contractID__referencedIDVID__agencyID AS value,
count() AS record_count
FROM fpds.data
WHERE content__IDV__contractID__referencedIDVID__agencyID 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.