Agency Id

Identifier assigned to the agency-specific portion of an IDV record. It is a coded value used to distinguish the agency-level element set associated with the vehicle rather than a descriptive text label.

Family: IDV
Category: Agency-Specific IDV Fields
Data Type: identifier_or_code
Semantic Type: identifier
Mapping: flattened_fpds_xml_field
AI Confidence: high

Variable Overview

FPDS Query Variable
content__IDV__agencySpecificIDVElements__agencyID
Title
Agency Id
FPDS Path
IDV/agencySpecificIDVElements/agencyID
Description
Identifier assigned to the agency-specific portion of an IDV record. It is a coded value used to distinguish the agency-level element set associated with the vehicle rather than a descriptive text label.
Business Meaning
This field lets analysts isolate, group, and compare agency-specific IDV records when studying contract vehicle usage, agency-level award patterns, and administrative differences in how agencies populate FPDS. It is useful for joining to related agency-specific elements and for filtering records tied to a particular agency code.
Example Value
8000
Observed Non-Null Count
59,473

FPDS Compare

FPDS Query Variable
content__IDV__agencySpecificIDVElements__agencyID
FPDS XML Path
IDV/agencySpecificIDVElements/agencyID
Mapping Type
flattened_fpds_xml_field
Comparison Summary
FPDS Query flattens the original nested FPDS XML path 'IDV/agencySpecificIDVElements/agencyID' into the SQL-ready variable 'content__IDV__agencySpecificIDVElements__agencyID'.

Use Cases

  • Dictionary lookup and field explanation
  • SQL filtering and grouping
  • Analytical reporting and reusable query building

Common Usage

  • Filter IDV records by agency-specific element set
  • Join to agency reference or description tables
  • Group awards by agency code for reporting

Common Mistakes

  • Assuming the value is a human-readable agency name
  • Aggregating across agencies without normalizing code values

Query Guidance

Use equality filters or joins on the stored code value, for example WHERE content__IDV__agencySpecificIDVElements__agencyID = '8000'. When needed, pair it with agency name or description fields to validate interpretation and avoid misclassification.

SQL Examples

Preview values

SELECT
    content__IDV__agencySpecificIDVElements__agencyID AS agency_id
FROM fpds.data
WHERE content__IDV__agencySpecificIDVElements__agencyID IS NOT NULL
LIMIT 25

Top values

SELECT
    content__IDV__agencySpecificIDVElements__agencyID AS value,
    count() AS record_count
FROM fpds.data
WHERE content__IDV__agencySpecificIDVElements__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.