Country Code

Code identifying the country associated with the vendor's site location in the award record. It is a standardized location code, not a free-text country name, and the example value "USA" indicates the vendor site is in the United States.

Family: Award
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__award__vendor__vendorSiteDetails__vendorLocation__countryCode
Title
Country Code
FPDS Path
award/vendor/vendorSiteDetails/vendorLocation/countryCode
Description
Code identifying the country associated with the vendor's site location in the award record. It is a standardized location code, not a free-text country name, and the example value "USA" indicates the vendor site is in the United States.
Business Meaning
This field supports geographic analysis of vendor locations, domestic versus foreign sourcing, and supply-chain concentration by country. It is useful for tracking awards to overseas vendors, assessing localization patterns, and validating whether the vendor site is consistent with other location fields.
Example Value
USA
Observed Non-Null Count
110,674,791

FPDS Compare

FPDS Query Variable
content__award__vendor__vendorSiteDetails__vendorLocation__countryCode
FPDS XML Path
award/vendor/vendorSiteDetails/vendorLocation/countryCode
Mapping Type
flattened_fpds_xml_field
Comparison Summary
FPDS Query flattens the original nested FPDS XML path 'award/vendor/vendorSiteDetails/vendorLocation/countryCode' into the SQL-ready variable 'content__award__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

  • Segment awards by domestic and foreign vendor location
  • Map vendor geography at the country level
  • Validate vendor location consistency across address fields

Common Mistakes

  • Assuming the code is the place of performance instead of the vendor site location
  • Filtering on raw values without accounting for code standards or missing/inactive codes

Query Guidance

Use this field in WHERE, GROUP BY, and JOIN clauses as a standardized country key. Normalize and compare against a reference list of valid country codes, and use DISTINCT to inspect observed values before hard-coding filters.

SQL Examples

Preview values

SELECT
    content__award__vendor__vendorSiteDetails__vendorLocation__countryCode AS country_code
FROM fpds.data
WHERE content__award__vendor__vendorSiteDetails__vendorLocation__countryCode IS NOT NULL
LIMIT 25

Top values

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