diff --git a/Makefile b/Makefile index 71b6927..fe7c222 100644 --- a/Makefile +++ b/Makefile @@ -4,13 +4,13 @@ all: output/results_append.tex investment: $(foreach f,$(INVPROJECTS),output/investment/$(notdir $f)) -temp/p-values-trade.csv: temp/shipment-clean.csv analysis/KLD.jl +output/trade/polya-index.csv: temp/shipment-clean.csv analysis/KLD.jl cd analysis/ && $(JULIA) KLD.jl ../$< ../$@ output/investment/%.csv: data/investment/%.csv analysis/KLD.jl cd analysis/ && $(JULIA) KLD.jl ../$< ../$@ -output/results_append.tex: analysis/master.do analysis/create_variables.do analysis/run_regression_p.do analysis/graph_p.do output/analysis-sample.dta temp/eu-related-countries.csv temp/p-values-trade.csv +output/results_append.tex: analysis/master.do analysis/create_variables.do analysis/run_regression_p.do analysis/graph_p.do output/analysis-sample.dta temp/eu-related-countries.csv output/trade/polya-index.csv stata -b do $< -output/analysis-sample.dta: merge.do temp/po-clean.dta temp/gdp-clean.dta temp/qog-clean.dta temp/gdelt-clean.dta temp/geodist-clean.dta temp/aggregated-clean.dta temp/kld-clean.dta input/un/un.dta temp/p-values-trade.csv +output/analysis-sample.dta: merge.do temp/po-clean.dta temp/gdp-clean.dta temp/qog-clean.dta temp/gdelt-clean.dta temp/geodist-clean.dta temp/aggregated-clean.dta temp/kld-clean.dta input/un/un.dta output/trade/polya-index.csv stata -b do $< temp/po-clean.dta: clean_po.do input/public-opinion/ebs_491.xls stata -b do $< diff --git a/output/trade/README.md b/output/trade/README.md new file mode 100644 index 0000000..77452c2 --- /dev/null +++ b/output/trade/README.md @@ -0,0 +1,28 @@ +# The Pólya Index of Trade Similarity + +## Citation +Please cite as + +> Koren, Miklós, Matteo Fiorini, Filippo Santi and Gergő Závecz. 2020. "The Pólya Index of Trade Similarity" [dataset] https://github.com/ceumicrodata/economic-diplomacy/tree/v1.0/output/trade/ + +This data is being developed as part of the [RESPECT project](http://respect.eui.eu/) supported by the European Commission. + +> This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 770680. + +## Data Availability Statements +All source data are in the public domain. The data published here, `polya-index.csv`, is licensed under the [Open Database License v1.0](https://opendatacommons.org/licenses/odbl/1-0/). + +Data sources: + +* Eurostat. 2019. “COMEXT: International Trade in Goods.” [dataset] http://epp.eurostat.ec.europa.eu/newxtweb/mainxtnet.do. + +## Manifest + +| Variable name | Description | +|-------------------|-----------------------------------------------| +| iso2_o | ISO-3166-1 2-letter code of exporter country | +| iso2_d | ISO-3166-1 2-letter code of importer country | +| year | Year in `YYYY` format | +| p | Pólya Index | + + diff --git a/temp/p-values-trade.csv b/output/trade/polya-index.csv similarity index 100% rename from temp/p-values-trade.csv rename to output/trade/polya-index.csv