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".
FPDS Compare
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.