Skip to content

Commit

Permalink
deploy: 63dd703
Browse files Browse the repository at this point in the history
  • Loading branch information
g4brielvs committed Apr 29, 2024
1 parent 3907e80 commit 21c5542
Show file tree
Hide file tree
Showing 27 changed files with 93 additions and 63 deletions.
4 changes: 2 additions & 2 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<link rel="next" title="What’s a Data Good?" href="docs/introduction-to-data-goods.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -562,7 +562,7 @@ <h2>License<a class="headerlink" href="#license" title="Permalink to this headin

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
15 changes: 12 additions & 3 deletions _sources/notebooks/sample-indicators/housing-and-community.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7867,7 +7867,9 @@
},
"outputs": [],
"source": [
"left = POI[POI[\"_upd10max\"] >= 0.5].value_counts([\"ADM2_EN\", \"type\"]).to_frame(\"damaged\")\n",
"left = (\n",
" POI[POI[\"_upd10max\"] >= 0.5].value_counts([\"ADM2_EN\", \"type\"]).to_frame(\"damaged\")\n",
")\n",
"right = POI.value_counts([\"ADM2_EN\", \"type\"]).to_frame(\"total\")\n",
"\n",
"df = pd.merge(left, right, on=[\"ADM2_EN\", \"type\"]).reset_index()\n",
Expand Down Expand Up @@ -14214,8 +14216,15 @@
},
"outputs": [],
"source": [
"ntl = pd.read_csv(\"../../data/ntl/PSE_2-buildings_without_electricity.csv\", index_col=\"name\")[['% residential buildings without electricity']]\n",
"ntl.rename(columns = {'% residential buildings without electricity':'% Residential Buildings without Observed Nighttime Lights'}, inplace=True)"
"ntl = pd.read_csv(\n",
" \"../../data/ntl/PSE_2-buildings_without_electricity.csv\", index_col=\"name\"\n",
")[[\"% residential buildings without electricity\"]]\n",
"ntl.rename(\n",
" columns={\n",
" \"% residential buildings without electricity\": \"% Residential Buildings without Observed Nighttime Lights\"\n",
" },\n",
" inplace=True,\n",
")"
]
},
{
Expand Down
41 changes: 31 additions & 10 deletions _sources/notebooks/sample-indicators/industry-and-commerce.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4953,7 +4953,9 @@
},
"outputs": [],
"source": [
"left = POI[POI[\"_upd10max\"] >= 0.5].value_counts([\"ADM2_EN\", \"type\"]).to_frame(\"damaged\")\n",
"left = (\n",
" POI[POI[\"_upd10max\"] >= 0.5].value_counts([\"ADM2_EN\", \"type\"]).to_frame(\"damaged\")\n",
")\n",
"right = POI.value_counts([\"ADM2_EN\", \"type\"]).to_frame(\"total\")\n",
"\n",
"df = pd.merge(left, right, on=[\"ADM2_EN\", \"type\"]).reset_index()\n",
Expand Down Expand Up @@ -9320,12 +9322,25 @@
},
"outputs": [],
"source": [
"ntl = pd.read_csv(\"../../data/ntl/PSE_2-buildings_without_electricity.csv\", index_col=\"name\")[['% industrial buildings without electricity', '% commercial buildings without electricity']]\n",
"ntl.rename(columns = {'% industrial buildings without electricity':'industrial', '% commercial buildings without electricity':'commercial'}, inplace=True)\n",
"ntl = pd.read_csv(\n",
" \"../../data/ntl/PSE_2-buildings_without_electricity.csv\", index_col=\"name\"\n",
")[\n",
" [\n",
" \"% industrial buildings without electricity\",\n",
" \"% commercial buildings without electricity\",\n",
" ]\n",
"]\n",
"ntl.rename(\n",
" columns={\n",
" \"% industrial buildings without electricity\": \"industrial\",\n",
" \"% commercial buildings without electricity\": \"commercial\",\n",
" },\n",
" inplace=True,\n",
")\n",
"\n",
"ntl = ntl.reset_index()\n",
"ntl.rename(columns = {'name':'ADM2_EN'}, inplace=True)\n",
"ntl.set_index('ADM2_EN', inplace=True)"
"ntl.rename(columns={\"name\": \"ADM2_EN\"}, inplace=True)\n",
"ntl.set_index(\"ADM2_EN\", inplace=True)"
]
},
{
Expand Down Expand Up @@ -9417,7 +9432,7 @@
"outputs": [],
"source": [
"ROADS = geopandas.read_file(\n",
" \"../../data/damage_assessment/delivery10_10Apr2024_2.5sigma/vectors/damaged_roads_lines_10Apr2024_2_5sigma.shp\"\n",
" \"../../data/damage_assessment/delivery10_10Apr2024_2.5sigma/vectors/damaged_roads_lines_10Apr2024_2_5sigma.shp\"\n",
").to_crs(\"EPSG:4326\")\n",
"\n",
"ROADS = geopandas.sjoin(ROADS, GAZA)\n",
Expand Down Expand Up @@ -11371,9 +11386,9 @@
")\n",
"\n",
"absolute_damage_numbers = list(\n",
" primary_secondary_roads.pivot_table(\"damaged\", \"ADM2_EN\", observed=False).sort_values(\n",
" by=\"ADM2_EN\", ascending=False\n",
" )[\"damaged\"]\n",
" primary_secondary_roads.pivot_table(\n",
" \"damaged\", \"ADM2_EN\", observed=False\n",
" ).sort_values(by=\"ADM2_EN\", ascending=False)[\"damaged\"]\n",
")\n",
"\n",
"\n",
Expand Down Expand Up @@ -11498,7 +11513,13 @@
" },\n",
" inplace=True,\n",
")\n",
"ROADS.rename(columns = {'damaged':'Primary and Secondary Damaged Roads (in km)', 'perc':'% Primary and Secondary Roads Damaged'}, inplace=True)"
"ROADS.rename(\n",
" columns={\n",
" \"damaged\": \"Primary and Secondary Damaged Roads (in km)\",\n",
" \"perc\": \"% Primary and Secondary Roads Damaged\",\n",
" },\n",
" inplace=True,\n",
")"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/CODE_OF_CONDUCT.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<link rel="search" title="Search" href="../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -654,7 +654,7 @@ <h2>Attribution<a class="headerlink" href="#attribution" title="Permalink to thi

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<link rel="search" title="Search" href="../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -606,7 +606,7 @@ <h2>Licensing<a class="headerlink" href="#licensing" title="Permalink to this he

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<link rel="prev" title="What’s a Data Good?" href="introduction-to-data-goods.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -651,7 +651,7 @@ <h2>Data Products Summary<a class="headerlink" href="#data-products-summary" tit

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/introduction-to-data-goods.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<link rel="prev" title="Gaza-Israel Conflict Impact Analysis" href="../README.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -554,7 +554,7 @@ <h2>How Data Goods are Managed<a class="headerlink" href="#how-data-goods-are-ma

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/team.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<link rel="prev" title="Impact on Industry and Commerce" href="../notebooks/sample-indicators/industry-and-commerce.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -530,7 +530,7 @@ <h1>Data Goods Team and Acknowledgements<a class="headerlink" href="#data-goods-

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -408,7 +408,7 @@ <h1 id="index">Index</h1>

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/conflict/acled.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<link rel="search" title="Search" href="../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -1759,7 +1759,7 @@ <h2>Findings<a class="headerlink" href="#id1" title="Permalink to this heading">

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/damage-assessment/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<link rel="prev" title="Datasets and Data Products Summary" href="../../docs/data.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -663,7 +663,7 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/damage-assessment/damage-assessment.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<link rel="prev" title="Damage to Buildings and Infrastructure" href="README.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -526,7 +526,7 @@ <h1>Visualizing Damage Buildings and Infrastructure in Gaza<a class="headerlink"

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/mobility/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<link rel="prev" title="Nighttime Lights Trends in Jordan" href="../nighttime-lights/nighttime-lights-in-jordan.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -580,7 +580,7 @@ <h4>Baselining<a class="headerlink" href="#baselining" title="Permalink to this

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/mobility/mapbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<link rel="prev" title="Gaza Mobility Analysis" href="README.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -1048,7 +1048,7 @@ <h3>Interactive Map of Activity in Gaza<a class="headerlink" href="#interactive-

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/nighttime-lights/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<link rel="prev" title="Damage Assessment until March 17, 2024" href="../../reports/20240317/README.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -570,7 +570,7 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/nighttime-lights/nighttime-lights-in-jordan.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<link rel="prev" title="Nighttime Lights Trends in Gaza and West Bank" href="nighttime-lights.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -3971,7 +3971,7 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/nighttime-lights/nighttime-lights.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<link rel="prev" title="Nighttime Lights Trends" href="README.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -3151,7 +3151,7 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions notebooks/sample-indicators/health.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<link rel="search" title="Search" href="../../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docbuild:last-update" content="Apr 15, 2024"/>
<meta name="docbuild:last-update" content="Apr 29, 2024"/>
</head>


Expand Down Expand Up @@ -569,7 +569,7 @@ <h2>Percentage of health related places damaged<a class="headerlink" href="#perc

<div class="footer-item">
<p class="last-updated">
Last updated on Apr 15, 2024.
Last updated on Apr 29, 2024.
<br/>
</p>
</div>
Expand Down
Loading

0 comments on commit 21c5542

Please sign in to comment.