Skip to content

Commit

Permalink
Move and document p-values.csv for direct publication
Browse files Browse the repository at this point in the history
References #41
  • Loading branch information
korenmiklos committed Jan 6, 2021
1 parent 4721d5b commit 401e547
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $<
Expand Down
28 changes: 28 additions & 0 deletions output/trade/README.md
Original file line number Diff line number Diff line change
@@ -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 |


File renamed without changes.

0 comments on commit 401e547

Please sign in to comment.