No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
check_ideas.sql
gdp-consistency-and-adjustment.sql
graphing.py
proc_pwt56.py
proc_pwt61.py
proc_pwt62.py
proc_pwt63.py
proc_pwt70.py
proc_pwt71.py
proc_pwt80.py
proc_pwt81.py
proc_pwt90.py
pwt56_forweb.csv
pwt61_data.csv
pwt62_data.csv
pwt63_w_country_names.csv
pwt70_w_country_names.csv
pwt71_wo_country_names_wo_g_vars.csv
pwt80.csv
pwt81.csv
pwt90.csv

README.md

penn-world-table-data

Penn World Table data wrangling.

For the database schema, see the one for the Maddison repo.

To generate the SQL files, the scripts in this repository require the devec_sql_common Python package. To install, run:

git clone https://github.com/riceissa/devec_sql_common
cd devec_sql_common
pip3 install -e .

Regenerating the SQL files

The SQL files are not included as part of the repository due to their size. Here are the commands to regenerate them:

./proc_pwt56.py > pwt56.sql
./proc_pwt61.py > pwt61.sql
./proc_pwt62.py > pwt62.sql
./proc_pwt63.py > pwt63.sql
./proc_pwt70.py > pwt70.sql
./proc_pwt71.py > pwt71.sql
./proc_pwt80.py > pwt80.sql
./proc_pwt81.py > pwt81.sql
./proc_pwt90.py > pwt90.sql

All the target files are already in .gitignore so your git status will remain clean after you regenerate them.

To test experimental changes to the scripts, you can send the results to a temporary file location and then compare the output with the official output.

License

CC0. Raw data subject to their own copyrights.

Attribution for PWT 9.0, 8.1, and 8.0:

Feenstra, Robert C., Robert Inklaar and Marcel P. Timmer (2015), "The Next Generation of the Penn World Table" American Economic Review, 105(10), 3150-3182, available for download at www.ggdc.net/pwt

Attribution for PWT 7.1:

Alan Heston, Robert Summers and Bettina Aten, Penn World Table Version 7.1 Center for International Comparisons of Production, Income and Prices at the University of Pennsylvania, November 2012.

Attribution for PWT 7.0:

Alan Heston, Robert Summers and Bettina Aten, Penn World Table Version 7.0, Center for International Comparisons of Production, Income and Prices at the University of Pennsylvania, June 2011.

Attribution for PWT 6.3:

Alan Heston, Robert Summers and Bettina Aten, Penn World Table Version 6.3, Center for International Comparisons of Production, Income and Prices at the University of Pennsylvania, August 2009.

Attribution for PWT 6.2:

Alan Heston, Robert Summers and Bettina Aten, Penn World Table Version 6.2, Center for International Comparisons of Production, Income and Prices at the University of Pennsylvania, September 2006.

Attribution for PWT 6.1:

Alan Heston, Robert Summers and Bettina Aten, Penn World Table Version 6.1, Center for International Comparisons of Production, Income and Prices at the University of Pennsylvania, October 2002.

Attribution for PWT 5.6:

Alan Heston, Robert Summers and Bettina Aten, Penn World Table, Center for International Comparisons of Production, Income and Prices at the University of Pennsylvania.

See also