Skip to content

Commit

Permalink
Merge pull request #1 from eurostat/codinglab
Browse files Browse the repository at this point in the history
Codinglab update 09.10.2020
  • Loading branch information
ericofrs committed Oct 9, 2020
2 parents a525100 + e836e90 commit 81870d8
Show file tree
Hide file tree
Showing 24 changed files with 38,529 additions and 0 deletions.
72 changes: 72 additions & 0 deletions dumb/dumber.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## *Statistics coded:* My first notebook\n",
"\n",
"Prepared by [Jacopo Grazzini]([email protected]) (Eurostat)."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2\n"
]
}
],
"source": [
"import numpy\n",
"print(1+1)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"2"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"1+1"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
348 changes: 348 additions & 0 deletions economy/Quarterly_national_accounts_GDP_and_employment_r.ipynb

Large diffs are not rendered by default.

17,855 changes: 17,855 additions & 0 deletions economy/comparative_price.ipynb

Large diffs are not rendered by default.

10,738 changes: 10,738 additions & 0 deletions economy/comparative_price_consumer_goods_services_py.ipynb

Large diffs are not rendered by default.

645 changes: 645 additions & 0 deletions economy/government_finance_statistics_py.ipynb

Large diffs are not rendered by default.

781 changes: 781 additions & 0 deletions envir/environmental_economy_py.ipynb

Large diffs are not rendered by default.

137 changes: 137 additions & 0 deletions general/EU_in_the_world_economy_finance_py.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## *Statistics coded:* The EU in the world - economy and finance\n",
"\n",
"Prepared by [**Luca Vietina**]([email protected]) (EMOS).\n",
"\n",
"This notebook aims at illustrating the *Statistics Expplained* article on [The EU in the world - economy and finance](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=The_EU_in_the_world_-_economy_and_finance).\n",
"\n",
"Note: please indicate the name of the programming language in the name of the notebook, as well as the language of the text used in the notebook, *e.g.* using the extensions *_fr_py.ipynb* or *_de_r.ipynb* (see [statistiques_villes_europeennes_fr_r.ipynb](./statistiques_villes_europeennes_fr_r.ipynb) for the use of another language than English)."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Settings\n",
"\n",
"Put all libraries/packages/modules/etc... that are necessary so that you can run this notebook."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import numpy\n",
"# ... whatever"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### General overview\n",
"\n",
"We simply \"reproduce\" the layout of the article here: the (sub)sections of this notebook shall match the (sub)sections of the article, *e.g.* this section matches the [General overview](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Living_conditions_in_Europe_-_poverty_and_social_exclusion#General_overview) section of the *Statistics Explained* article.\n",
"\n",
"Note that your can insert *LaTeX* formula into your text, *e.g.*: \n",
"$$\\int {x^n } dx = \\frac{{x^{n + 1} }}{{n + 1}}, \\quad n \\ne - 1$$"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"# your code..."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Key findings\n",
"\n",
"*Ibid*, the code here will help reproducing the material presented in the section [Key findings](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Living_conditions_in_Europe_-_poverty_and_social_exclusion#Key_findings)."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"# your code..."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Don't forget to explain what you are doing..."
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"# more code"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Poverty and social exclusion\n",
"\n",
"*Ibid*, the code here will help reproducing the material presented in the section [Poverty and social exclusion](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Living_conditions_in_Europe_-_poverty_and_social_exclusion#Poverty_and_social_exclusion)."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Additional material\n",
"\n",
"At this stage, it is up to you to extend the work presented in the notebook with further analysis/visualisation you deem relevant. "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Loading

0 comments on commit 81870d8

Please sign in to comment.