Agency Id

Numeric identifier for the awarding agency associated with the other transaction award contract ID. It identifies the federal agency responsible for the award record rather than describing the award itself.

Family: Other Transaction Award
Category: General
Data Type: numeric
Semantic Type: attribute
Mapping: flattened_fpds_xml_field
AI Confidence: high

Variable Overview

FPDS Query Variable
content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID
Title
Agency Id
FPDS Path
OtherTransactionAward/OtherTransactionAwardID/OtherTransactionAwardContractID/agencyID
Description
Numeric identifier for the awarding agency associated with the other transaction award contract ID. It identifies the federal agency responsible for the award record rather than describing the award itself.
Business Meaning
This field is useful for segmenting awards by agency, supporting rollups, cross-agency comparisons, and agency-level reporting in FPDS-based procurement analysis. It also helps analysts distinguish which organization issued the transaction when the same vendor or award pattern appears across multiple agencies.
Example Value
9700
Observed Non-Null Count
38,894

FPDS Compare

FPDS Query Variable
content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID
FPDS XML Path
OtherTransactionAward/OtherTransactionAwardID/OtherTransactionAwardContractID/agencyID
Mapping Type
flattened_fpds_xml_field
Comparison Summary
FPDS Query flattens the original nested FPDS XML path 'OtherTransactionAward/OtherTransactionAwardID/OtherTransactionAwardContractID/agencyID' into the SQL-ready variable 'content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID'.

Use Cases

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

Common Usage

  • Agency-level award rollups
  • Filtering awards by issuing agency
  • Joining to agency lookup/reference tables

Common Mistakes

  • Interpreting the numeric code as a count or dollar amount
  • Using the field without validating the agency code against a reference list

Query Guidance

Use this field in WHERE clauses to restrict results to specific agencies and in GROUP BY clauses to summarize activity by agency. When joining, match it to the corresponding agency code key in your reference data and preserve the raw numeric value for reproducibility.

SQL Examples

Preview values

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

Aggregate total

SELECT
    sum(content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID) AS total_value
FROM fpds.data
WHERE content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID IS NOT NULL

Distribution overview

SELECT
    min(content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID) AS min_value,
    avg(content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID) AS avg_value,
    max(content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID) AS max_value,
    count() AS record_count
FROM fpds.data
WHERE content__OtherTransactionAward__OtherTransactionAwardID__OtherTransactionAwardContractID__agencyID IS NOT NULL

Each dictionary item includes SQL-ready examples generated alongside the variable metadata, allowing immediate use in FPDS Query for filtering, aggregation, and analysis.