Major Program Code

Human-readable program code recorded on the contract action to identify the major program associated with the award. It functions as an identifier or classification value rather than a narrative description, and the observed value may reflect a coded label such as "RADIO TV EQUIPMENT".

Family: IDV
Category: Contract Data
Data Type: identifier_or_code
Semantic Type: identifier
Mapping: flattened_fpds_xml_field
AI Confidence: high

Variable Overview

FPDS Query Variable
content__IDV__contractData__majorProgramCode
Title
Major Program Code
FPDS Path
IDV/contractData/majorProgramCode
Description
Human-readable program code recorded on the contract action to identify the major program associated with the award. It functions as an identifier or classification value rather than a narrative description, and the observed value may reflect a coded label such as "RADIO TV EQUIPMENT".
Business Meaning
This field helps analysts group obligations and awards by major program area, supporting portfolio analysis, spending oversight, and reporting on mission-oriented procurement activity. It is useful for identifying concentration of awards within specific program categories and for comparing procurement patterns across programs.
Example Value
RADIO TV EQUIPMENT
Observed Non-Null Count
531,691

FPDS Compare

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

Use Cases

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

Common Usage

  • Group awards by major program category
  • Filter obligations for a specific program area
  • Analyze spending concentration across program codes

Common Mistakes

  • Assuming the field is a narrative description rather than a code or label
  • Using broad text searches without checking for exact stored values or variants

Query Guidance

Use exact matching or normalized comparisons when filtering or grouping, and inspect distinct values before building SQL logic. If the dataset includes both code and description variants, join or coalesce to the display label only after confirming the stored format.

SQL Examples

Preview values

SELECT
    content__IDV__contractData__majorProgramCode AS major_program_code
FROM fpds.data
WHERE content__IDV__contractData__majorProgramCode IS NOT NULL
LIMIT 25

Top values

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