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.

Family: IDV
Category: Vendor Site Details
Data Type: identifier_or_code
Semantic Type: identifier
Mapping: flattened_fpds_xml_field
AI Confidence: high

Variable Overview

FPDS Query Variable
content__IDV__vendor__vendorSiteDetails__vendorLocation__countryCode
Title
Country Code
FPDS Path
IDV/vendor/vendorSiteDetails/vendorLocation/countryCode
Description
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.
Business Meaning
This field supports geographic analysis of vendor footprint, including domestic versus foreign sourcing, market concentration, and compliance reporting tied to vendor location. It is useful for identifying awards associated with non-U.S. vendor sites and for segmenting supplier geography across IDVs.
Example Value
USA
Observed Non-Null Count
5,825,326

FPDS Compare

FPDS Query Variable
content__IDV__vendor__vendorSiteDetails__vendorLocation__countryCode
FPDS XML Path
IDV/vendor/vendorSiteDetails/vendorLocation/countryCode
Mapping Type
flattened_fpds_xml_field
Comparison Summary
FPDS Query flattens the original nested FPDS XML path 'IDV/vendor/vendorSiteDetails/vendorLocation/countryCode' into the SQL-ready variable 'content__IDV__vendor__vendorSiteDetails__vendorLocation__countryCode'.

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.