Country Code
Code identifying the country associated with the vendor location recorded for the IDV vendor site. It is an identifier rather than a free-text location name, so the stored value is expected to be a standardized country code such as USA.
FPDS Compare
Use Cases
- Dictionary lookup and field explanation
- SQL filtering and grouping
- Analytical reporting and reusable query building
- Contractor profiling and competitor analysis
Common Usage
- Identify domestic versus non-domestic vendor locations
- Group IDVs by vendor country for geographic analysis
- Join to a country reference or code table for reporting labels
Common Mistakes
- Assuming the field contains a spelled-out country name
- Confusing vendor location country with place of performance or awardee headquarters
Query Guidance
Filter and group by the code value directly, and join to a reference table if a human-readable country label is needed. If comparing across records, normalize case and confirm whether the dataset uses ISO-style codes, FPDS-specific codes, or legacy values.
SQL Examples
Preview values
SELECT
content__IDV__vendor__vendorSiteDetails__vendorLocation__countryCode AS country_code
FROM fpds.data
WHERE content__IDV__vendor__vendorSiteDetails__vendorLocation__countryCode IS NOT NULL
LIMIT 25
Top values
SELECT
content__IDV__vendor__vendorSiteDetails__vendorLocation__countryCode AS value,
count() AS record_count
FROM fpds.data
WHERE content__IDV__vendor__vendorSiteDetails__vendorLocation__countryCode 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.