Country Code

Code that identifies the country associated with the vendor's location in the contract record. It is a coded geographic attribute, not a narrative address field, and commonly appears as a standardized country abbreviation such as USA.

Family: Other Transaction 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__OtherTransactionIDV__contractDetail__vendor__vendorSiteDetails__vendorLocation__countryCode
Title
Country Code
FPDS Path
OtherTransactionIDV/contractDetail/vendor/vendorSiteDetails/vendorLocation/countryCode
Description
Code that identifies the country associated with the vendor's location in the contract record. It is a coded geographic attribute, not a narrative address field, and commonly appears as a standardized country abbreviation such as USA.
Business Meaning
This field supports geographic analysis of vendor presence, domestic versus foreign sourcing, and supplier diversification across countries. It is useful for tracking cross-border contracting patterns, compliance reviews, and market concentration by vendor location.
Example Value
USA
Observed Non-Null Count
13,417

FPDS Compare

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

  • Classify awards by vendor country for domestic/foreign analysis
  • Filter contracts to U.S.-based or non-U.S.-based vendors
  • Join to a country lookup table for standardized reporting

Common Mistakes

  • Assuming the code is a full country name rather than an identifier
  • Using it alone to infer vendor residency without checking other location fields

Query Guidance

Use this field as a categorical filter or join key, not as free text. In SQL, group by the code for counts and amounts, and map it through a country dimension table when you need human-readable labels or consistent ISO-style reporting.

SQL Examples

Preview values

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

Top values

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