Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remodel due to d2. #37

Open
wants to merge 92 commits into
base: main-the-big-three
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
eff1392
Indicator filter eliminated & new scale
amarchve Jul 21, 2022
a111977
New corr added
amarchve Jul 21, 2022
9ce55a4
bug from 21/07 fixed
amarchve Jul 22, 2022
8541783
Final corr
amarchve Jul 22, 2022
dda1894
Update WDI-Complete code.ipynb
amarchve Jul 22, 2022
165b4dd
Update WDI-Complete code.ipynb
Mferna38 Jul 22, 2022
6e5995a
Merge branch 'Remodel-due-to-d2' of https://github.com/devonfw-forge/…
Mferna38 Jul 22, 2022
f3db7d9
Revert "Merge branch 'Remodel-due-to-d2' of https://github.com/devonf…
amarchve Jul 25, 2022
19c6d13
json fix
amarchve Jul 25, 2022
557cf8d
Categories ended
Mferna38 Jul 25, 2022
49b7d8d
Error correction
Mferna38 Jul 25, 2022
027325f
Inplace checked
Mferna38 Jul 25, 2022
4cc57e0
Normalization fixed
amarchve Jul 25, 2022
1120fd6
shifts
amarchve Jul 25, 2022
ce89295
Update WDI-Complete code.ipynb
masanchis Jul 26, 2022
b310703
Update WDI-Complete code.ipynb
masanchis Jul 26, 2022
1c22ae6
Update WDI-Complete code.ipynb
masanchis Jul 26, 2022
cba6f21
Update WDI-Complete code.ipynb
masanchis Jul 26, 2022
e7e0adb
U
masanchis Jul 26, 2022
b76627b
Update README.md
masanchis Jul 26, 2022
ecf5003
Update README.md
masanchis Jul 26, 2022
5606f57
Update README.md
masanchis Jul 26, 2022
75b788d
Update README.md
masanchis Jul 26, 2022
e08b9ae
Update README.md
masanchis Jul 26, 2022
764d746
Categ included
Mferna38 Jul 26, 2022
4f6a2ee
Merge branch 'Remodel-due-to-d2' of https://github.com/devonfw-forge/…
Mferna38 Jul 26, 2022
76e8b51
Review
Mferna38 Jul 26, 2022
cbf9059
Update README.md
masanchis Jul 26, 2022
366d2da
bug fixed
amarchve Jul 26, 2022
003e9cf
Merge branch 'Remodel-due-to-d2' of https://github.com/devonfw-forge/…
amarchve Jul 26, 2022
8080645
Update WDI-Complete code.ipynb
masanchis Jul 26, 2022
67dcb21
Update WDI-Complete code.ipynb
masanchis Jul 27, 2022
978bebc
Update WDI-Complete code.ipynb
masanchis Jul 27, 2022
e380048
Update WDI-Complete code.ipynb
masanchis Jul 27, 2022
614e648
Moved corr
amarchve Jul 28, 2022
c417ff9
final tables visualized
amarchve Jul 28, 2022
15a918f
Update WDI-Complete code.ipynb
amarchve Jul 28, 2022
9975cec
Marias' changes
Mferna38 Jul 28, 2022
c688856
Merge branch 'Remodel-due-to-d2' of https://github.com/devonfw-forge/…
amarchve Jul 29, 2022
c946c67
Final table
amarchve Jul 29, 2022
8082b0d
visualization
amarchve Jul 29, 2022
237ab9d
Update WDI-Complete code.ipynb
amarchve Jul 29, 2022
bfc5032
Update WDI-Complete code.ipynb
amarchve Jul 29, 2022
4e8b05c
Conclusions started
amarchve Aug 1, 2022
a0ef360
Code for conclusions done, without documentation
amarchve Aug 1, 2022
8772e66
Updated dfind
amarchve Aug 1, 2022
5e52074
Update WDI-Complete code.ipynb
amarchve Aug 1, 2022
545edb9
2 Graphs added
Mferna38 Aug 1, 2022
5f6c57a
Args[] to resolve
Mferna38 Aug 1, 2022
c7c9b25
updated final table
amarchve Aug 1, 2022
46814f2
Starting documentation
amarchve Aug 2, 2022
5fa6be1
Casuallity hypothesis finshed
amarchve Aug 2, 2022
1b6b2d0
Update WDI-Complete code.ipynb
amarchve Aug 2, 2022
521b9a2
Update WDI-Complete code.ipynb
amarchve Aug 2, 2022
ab3c3f6
photos
amarchve Aug 2, 2022
305d551
Cases updated
Mferna38 Aug 2, 2022
ff32b65
1st slider
amarchve Aug 2, 2022
b24bc53
Sliders 2
amarchve Aug 2, 2022
2a02702
Slider 3
amarchve Aug 2, 2022
ab522c4
photos updated
amarchve Aug 2, 2022
2b86044
final photos
amarchve Aug 2, 2022
232245e
Update WDI-Complete code.ipynb
amarchve Aug 2, 2022
e60f04a
documentation
amarchve Aug 2, 2022
ee66657
Update dfindicators - Copy.xlsx
amarchve Aug 3, 2022
1da536c
Documetation corr
amarchve Aug 3, 2022
d213c5e
H_0 sets
amarchve Aug 3, 2022
7d5c417
Final tables
amarchve Aug 3, 2022
73992ee
Update WDI-Complete code.ipynb
amarchve Aug 3, 2022
ac52596
Updated libraries
Mferna38 Aug 3, 2022
c3ff331
Update README.md
Mferna38 Aug 3, 2022
a39ddd1
Doc
amarchve Aug 3, 2022
4baa609
Merge branch 'Remodel-due-to-d2' of https://github.com/devonfw-forge/…
amarchve Aug 3, 2022
61987a2
Extract
amarchve Aug 3, 2022
55d63dc
Update WDI-Complete code.ipynb
amarchve Aug 3, 2022
ce172d7
itable added
amarchve Aug 3, 2022
62f32d1
Introduction title
amarchve Aug 3, 2022
5888b9d
Update README.md
masanchis Aug 3, 2022
399daec
Introduction
masanchis Aug 3, 2022
6b05a5e
describe through images
amarchve Aug 3, 2022
e32d308
TITULO & ÍNDICE
masanchis Aug 3, 2022
d729d90
Update WDI-Complete code.ipynb
masanchis Aug 3, 2022
f86d25e
Update WDI-Complete code.ipynb
amarchve Aug 3, 2022
ca48c67
Update WDI-Complete code.ipynb
amarchve Aug 3, 2022
1fda043
Revert "Update WDI-Complete code.ipynb"
amarchve Aug 3, 2022
6960cb5
Last graphs
amarchve Aug 3, 2022
265c6da
Update WDI-Complete code.ipynb
amarchve Aug 3, 2022
19ea942
Adrian sample file
Mferna38 Aug 3, 2022
55c23ec
Doc, spurious
amarchve Aug 4, 2022
bbab318
Graphs reviewed
Mferna38 Aug 4, 2022
5f89c1f
Cap logo
amarchve Aug 4, 2022
bd9e938
Divided notebooks
amarchve Aug 4, 2022
4071a70
New
amarchve Aug 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Divided notebooks
amarchve committed Aug 4, 2022
commit bd9e9389a612d5e8bdb107e13e24cc59795a3157
206,377 changes: 206,377 additions & 0 deletions WDI-Correlation and visualization of results.ipynb

Large diffs are not rendered by default.

126 changes: 126 additions & 0 deletions WDI-Extraction.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Extraction"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Import libraries and functions."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np\n",
"import glob\n",
"import os\n",
"from zipfile import ZipFile\n",
"import warnings\n",
"warnings.filterwarnings(\"ignore\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This step has been depreciated due to security features added to the World Bank website. However, the data is still obtainable by openinng the `url`."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In the following cells we are going to import the data from the [World Bank website](https://www.worldbank.org/en/home), Data sections, and decompress it. So later on, we can process it in the integration, and subsequent parts."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"To download the data, we are going to use the `request` library as just to be sure that we do not run into any inconvinient we are going to use the `stream` and `verify` to have a simple and cleaner download. Therefore, at the end we will have the data downloaded in our working directory data by design. (It can be obtained with the following function `os.getcwd()`)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"url = 'https://databank.worldbank.org/data/download/WDI_csv.zip'\n",
"r = requests.get(url, allow_redirects=True, stream = True,verify=False)\n",
"open('WDI_csv.zip', 'wb').write(r.content)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Then we extract all the files that are contained in WDI_csv.zip , into the default directory in a new folder called Data."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"zip_name = \"WDI_csv.zip\"\n",
"with ZipFile(zip_name, 'r') as zip:\n",
" zip.printdir()\n",
" zip.extractall('Data') "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Finally we are going to delete the WDI_csv.zip."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"os.remove(os.getcwd()+'/Data/'+\"/**.zip\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.9.12 ('base')",
"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.9.12"
},
"vscode": {
"interpreter": {
"hash": "db2f77d7771d8a0072cf3f8e7f9965a22a9c65bf4f8ee5135b3d479c9967abaa"
}
}
},
"nbformat": 4,
"nbformat_minor": 2
}
912 changes: 912 additions & 0 deletions WDI-Integration.ipynb

Large diffs are not rendered by default.

8,155 changes: 8,155 additions & 0 deletions WDI-Normalization&Categorization.ipynb

Large diffs are not rendered by default.

958 changes: 958 additions & 0 deletions WDI-Spurious.ipynb

Large diffs are not rendered by default.