/gdp-us

Gross Domestic Product of the United States (US GDP)

Primary LanguagePython

Gross Domestic Product (GDP) of the United States (US) both nominal and real on an annual and quarterly basis. Annual data is provided since 1930 and quarterly data since 1947. Both total GDP (levels) and annualized percentage change in GDP are provided. Both levels and changes are available both in current dollars (nominal GDP) and in chained 2009 dollars (real GDP). Data is sourced from US Government's Bureau of Economic Analysis (BEA) and provided in standardized CSV.

Data

The calculation of GDP and, in particular, chained measures of GDP involves some complexities. You can read more about the benefits and issues of BEA's Chain Indexes in the BEA's 1997 Survey of Current Business.

Preparation

Requires Python. Install the requirements:

pip install -r scripts/requirements.txt

Then run the script to get the data:

python scripts/process.py

License

Public Domain Dedication and License.

Note we assume source data is public domain as US Federal Government.