From eb5c1e06953d583523d2b5a701b661b95cb39aa5 Mon Sep 17 00:00:00 2001 From: Dmytro Gierman Date: Wed, 24 Jan 2018 09:17:48 +0200 Subject: [PATCH] [automation][l] added '.datahub/dp.json' with meta information and readme. --- .datahub/datapackage.json | 24 ++++++++++++++++++++++++ .datahub/flow.yaml | 5 ----- .datahub/readme.md | 13 ++----------- README.md | 3 ++- 4 files changed, 28 insertions(+), 17 deletions(-) create mode 100644 .datahub/datapackage.json diff --git a/.datahub/datapackage.json b/.datahub/datapackage.json new file mode 100644 index 0000000..abe4dcf --- /dev/null +++ b/.datahub/datapackage.json @@ -0,0 +1,24 @@ +{ + "name": "gdp", + "title": "Country, Regional and World GDP (Gross Domestic Product)", + "description": "Country, regional and world GDP in current US Dollars ($). Regional means collections of countries e.g. Europe & Central Asia. Data is sourced from the World Bank and turned into a standard normalized CSV.", + "image": "http://assets.okfn.org/p/opendatahandbook/img/data-wrench.png", + "readme": "Country, regional and world GDP in current US Dollars ($). Regional means\ncollections of countries e.g. Europe & Central Asia.\n\n## Data\n\nThe data is sourced from the World Bank (specifically [this dataset][current]) which\nin turn lists as sources: *World Bank national accounts data, and OECD National\nAccounts data files*.\n\nNote that there are a variety of different GDP indicators on offer from the\nWorld Bank including:\n\n* [GDP in current USD][current]\n* [GDP in constant USD (2000)][constant]\n* [GDP, PPP (constant 2005 international $)][ppp]\n* [GDP (constant LCU)][lcu]\n\n[constant]: http://data.worldbank.org/indicator/NY.GDP.MKTP.KD\n[current]: http://data.worldbank.org/indicator/NY.GDP.MKTP.CD\n[ppp]: http://data.worldbank.org/indicator/NY.GDP.MKTP.PP.KD\n[lcu]: http://data.worldbank.org/indicator/NY.GDP.MKTP.KN\n\n\n## Automation\n\nDatahub updates this dataset every year automatically.\n\n## License\n\nThis Data Package is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/", + "keywords": [ + "GDP", + "World", + "Gross Domestic Product", + "Time series" + ], + "last_updated": "2018-01-19", + "license": "PDDL-1.0", + "sources": [ + { + "name": "World Bank and OECD", + "web": "http://data.worldbank.org/indicator/NY.GDP.MKTP.CD", + "title": "World Bank and OECD" + } + ], + + "version": "2017" +} diff --git a/.datahub/flow.yaml b/.datahub/flow.yaml index c8b1196..319fbac 100644 --- a/.datahub/flow.yaml +++ b/.datahub/flow.yaml @@ -4,11 +4,6 @@ meta: owner: AcciyGerman ownerid: a08d3588fbae0355042537595c65819d - title: "Country, Regional and World GDP (Gross Domestic Product)" - description: "Country, regional and world GDP in current US Dollars ($). Regional means collections of countries e.g. Europe & Central Asia. Data is sourced from the World Bank and turned into a standard normalized CSV." - license: "PDDL-1.0" - readme: "Country, regional and world GDP in current US Dollars ($). Regional means\ncollections of countries e.g. Europe & Central Asia.\n\n## Data\n\nThe data is sourced from the World Bank (specifically [this dataset][current]) which\nin turn lists as sources: *World Bank national accounts data, and OECD National\nAccounts data files*.\n\nNote that there are a variety of different GDP indicators on offer from the\nWorld Bank including:\n\n* [GDP in current USD][current]\n* [GDP in constant USD (2000)][constant]\n* [GDP, PPP (constant 2005 international $)][ppp]\n* [GDP (constant LCU)][lcu]\n\n[constant]: http://data.worldbank.org/indicator/NY.GDP.MKTP.KD\n[current]: http://data.worldbank.org/indicator/NY.GDP.MKTP.CD\n[ppp]: http://data.worldbank.org/indicator/NY.GDP.MKTP.PP.KD\n[lcu]: http://data.worldbank.org/indicator/NY.GDP.MKTP.KN\n\n\n## Preparation\n\nProcess is recorded and automated in python script:\n\n```\nscripts/process.py\n```\n\n\n## License\n\nThis Data Package is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/" - inputs: - kind: datapackage diff --git a/.datahub/readme.md b/.datahub/readme.md index 12dc233..5dbefa7 100644 --- a/.datahub/readme.md +++ b/.datahub/readme.md @@ -20,18 +20,9 @@ World Bank including: [ppp]: http://data.worldbank.org/indicator/NY.GDP.MKTP.PP.KD [lcu]: http://data.worldbank.org/indicator/NY.GDP.MKTP.KN - -## Preparation - -Process is recorded and automated in python script: - -``` -scripts/process.py -``` - ## Automation -This dataset is updating every year on the datahub.io: -https://datahub.io/core/gdp + +Datahub updates this dataset every year automatically. ## License diff --git a/README.md b/README.md index f4a00a6..2e1262b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,8 @@ scripts/process.py ``` ## Automation -This dataset is updated every year on the datahub.io: + +Up-to-date (auto-updates every year) gdp dataset could be found on the datahub.io: https://datahub.io/core/gdp ## License