##########################
# Gateway Factor analyis #
##########################

Part of 'Atlas of Dutch distribution centres' (Chapter 2 in PhD thesis 'Landscapes of Trade')

In this work folder two R scripts are included to treat data and perform the regression analysis, including the production of plots used in the publication, along with underlying data folder and export folder.

# export
In this sub folder, the resulting figures are stored, in PNG, HTML and PDF format.

# processed
In this sub folder, the resulting CSV file from data_treatment.R is stored: 

## modeldata.csv
country [Character]:		country name
Pop2022 [Double]:		population in 2022
TOTAL [Double]:			total national value added in million Euro in 2022
A - R-U [Double]:		national value added per sector in million Euro in 2022
log_share [Double]:		logistics share of value added (G-I) in 2022
ind_share [Double]:		industry share of value added (B-E) in 2022
TEU_2019 [Double]:		containers transhipped in 2019 (twenty-foot equivalent units)
Ecom_2022 [Double]:		E-commerce penetration rate in 2022
ctp_percap [Double]:		class A warehouse footprint in square meters per capita in 2023
Balance [Double]:		trade balance in 2022
Exports [Double]:		exports in billion Euro in 2022
Imports [Double]: 		imports in billion Euro in 2022
expenditure2022 [Double]:	household expenditure in 2022
val_cap [Double]:		value added per capita in 2022
teu_cap [Double]:		containers transhipped in 2019 per capita
bal_cap [Double]: 		trade balance per capita in 2022
imp_cap [Double]:		imports in billion Euro per capita
exp_cap [Double]:		exports in billion Euro per capita	

# data
In this sub folder, the data sources used in the scripts are stored, in CSV and Shapefile format. The 'NUTS_RG_20M_2021_3035' sub folder contains a Shapefile of the European countries, used to plot a map via the R script regression.R. CSV file names starting with 'EU' are data sources by Eurostat, used to select the variables compiled in the modeldata above. 

## TEU_throughput_world.csv
Data by the Worldbank on container throughput per country, ranging from 2000 to 2020. The 2019 column is more complete and therefor used in the modeldata above.

## trade.csv
Trade data by the Worldbank for European countries in 2022, including Balance, Exports and Imports.

## country_id.csv
Table to match EU country codes to country names (Eurostat, 2023).

