Downloadable data · CSV

Spain to Gibraltar HS6 export unit values

Download 14,314 historical unit-value records for Spain to Gibraltar export unit values by HS6 product (2017–2023).

Years
2017–2023
Records
14,314
Columns
13

What is in the download?

Download 14,314 historical unit-value records for Spain to Gibraltar export unit values by HS6 product (2017–2023).

Each row represents exporting country, importing country, HS6 product, and reported year.

Historical unit values divide reported value by quantity in metric tons. They are not current selling prices or quotes. The newest record in this file is from 2023.

Data source: CEPII BACI.

Sample rows from the file

View sample (JSON)
Sample values in the original column order and precision.
Year · Countries · ProductCalculated indicatorsReported valueCalculated indicators
YearExporting countryDestination countryProduct code · HS6Unit value · USD/tonQuantity · metric tonsReported value · US$market median price usd per tonmarket min price usd per tonmarket max price usd per tonnum price competitorsprice vs median pctprice position
2023ESPGIB271000739.4028508586396722426.56534164258.00000006708.1085174167844364.7434680117536181666.66666666666314.419426213939427Mid
2023ESPGIB89039220128.79425564952510058.85720247266352436.2697644401420128.79425564952589522.057489846617-61.61284098568746Budget
2023ESPGIB270750951.220572848548342817.640728982903.4169647561213611.7946961914546951.220572848548345.29142245024496Mid
2023ESPGIB271111602.432885997283236777.7222156108700.6307750473965550.9715886052126966.57676689841485-14.015640269794083Mid
2023ESPGIB87032230291.89331937459424.1071284700416619.54545454545610838.96851647678532343.689320388352582.26667752269806Premium
5 sample rows

5 sample records. Null means unavailable. Calculated indicators are labelled separately.

How can I use this data?

How do products and years compare?

Choose a year, then compare the reported values for the products and countries you are studying. To follow a product over time, use the same product code in each year. Check the column descriptions for the units of each value.

What does the unit value tell me?

Unit value is the historical export value divided by quantity. It gives an average value per unit, not a supplier’s selling price today. Check the quantity unit and year before comparing products or countries. A missing figure is not a value of zero.

How do I open the CSV?

Import the CSV into a spreadsheet or analysis tool. Set product and country codes to text to keep leading zeros. The download contains all 14,314 rows; the search above filters only the sample. Use the full file to compare products and years.

Dataset details

What each column means13 columns
yearUInt16
Reported calendar year.Observation
exporter_iso3FixedString(3)
Three-letter code for the country exporting the goods; preserve as text.Observation
importer_iso3FixedString(3)
Three-letter code for the country receiving the goods; preserve as text.Observation
hs_codeFixedString(6)
Six-digit Harmonized System (HS6) code identifying the product category; preserve leading zeros.Observation
unit_value_usd_per_tonFloat64
Historical value divided by quantity; not a current selling price.Calculated indicators
quantity_metric_tonsFloat64
Quantity in metric tons.Reported values
trade_value_usdFloat64
Reported merchandise value in US dollars.Reported values
market_median_price_usd_per_tonFloat64
Median historical value per metric ton among suppliers; not a current quote.Calculated indicators
market_min_price_usd_per_tonFloat64
Lowest historical value per metric ton among suppliers; not a current quote.Calculated indicators
market_max_price_usd_per_tonFloat64
Highest historical value per metric ton among suppliers; not a current quote.Calculated indicators
num_price_competitorsUInt32
Number of competing suppliers with available unit values.Calculated indicators
price_vs_median_pctNullable(Float64)
Percentage difference between the unit value and the market median.Calculated indicators
price_positionNullable(String)
Historical unit-value position relative to available comparisons.Calculated indicators
Where the data comes fromCEPII BACI

CEPII — BACI bilateral trade flows (202601)

Gaulier, G. and Zignago, S. (2010), BACI: International Trade Database at the Product-Level. The 1994-2007 Version, CEPII Working Paper No. 2010-23.

Etalab 2.0 Open Licence

  • Historical unit values divide reported value by quantity in metric tons. They are not current selling prices or quotes. The newest record in this file is from 2023.
What does one row represent?

Exporting country, importing country, HS6 product, and reported year. The file contains 14,314 records.

What period does this dataset cover?

2017 to 2023. Missing years or observations are not filled in.

What format is the download and how large is it?

The complete CSV file is 1.7 MB and contains 14,314 records. The schema and sample files describe every field before you download.

Where does the data come from and how can it be used?

Values are reported observations with calculated fields marked as such.

File size and download instructionsCSV
Format
CSV
Available years
2017–2023 where reported
Exports from → to
ESP → GIB
data.csv
1,704,920 bytes

Open the CSV in a spreadsheet or read it with pandas.read_csv. Import country and product codes as text to preserve leading zeros.

CSV checksum5365f70f7a865e2be26e0bea3c216a93fcc7f2952a2b9623d405526cdfe4d5d2

Explore with Yugalinks

Compare products and export destinations

Explore export values by country and product, compare markets and review historical trends.