Skip to content

Commit

Permalink
New post: Rainfall insights
Browse files Browse the repository at this point in the history
  • Loading branch information
robe2037 committed Mar 7, 2024
1 parent e7db8b9 commit e4c77c6
Show file tree
Hide file tree
Showing 23 changed files with 2,000 additions and 32 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ $h5-font-size: 24px !default;
$code-color: #4758AB !default;
$btn-code-copy-color-active: $link-color !default;

$table-border-color: rgba($primary, 0.2) !default;

/*-- scss:rules --*/
// TOC
#toc-title {
Expand Down Expand Up @@ -213,4 +215,32 @@ b, strong {

.nav-footer a:hover {
color: white;
}

// tables
.table > :not(:first-child),
.table > :not(caption) > :not(:last-child) > * {
border-top: solid 1px $table-border-color;
border-bottom: solid 1px $table-border-color;
}

.table > thead > tr > :not(th:last-child) {
border-right: solid 1px white;
}

.table thead {
background-color: $primary;
color: white;
}

.table a {
word-break: normal;
}

.table caption {
color: rgba($primary, 0.7);
}

.table td {
vertical-align: middle;
}
57 changes: 52 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ <h1 class="title">Latest Posts</h1>
<div id="quarto-sidebar-glass" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass"></div>
<!-- margin-sidebar -->
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
<h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-listing-category category-default"><div class="category" data-category="">All <span class="quarto-category-count">(4)</span></div><div class="category" data-category="Agriculture">Agriculture <span class="quarto-category-count">(1)</span></div><div class="category" data-category="CHIRPS">CHIRPS <span class="quarto-category-count">(1)</span></div><div class="category" data-category="Climate">Climate <span class="quarto-category-count">(2)</span></div><div class="category" data-category="Importing data">Importing data <span class="quarto-category-count">(1)</span></div><div class="category" data-category="Methodology">Methodology <span class="quarto-category-count">(1)</span></div><div class="category" data-category="Precipitation">Precipitation <span class="quarto-category-count">(1)</span></div><div class="category" data-category="R">R <span class="quarto-category-count">(3)</span></div><div class="category" data-category="Research concepts">Research concepts <span class="quarto-category-count">(1)</span></div><div class="category" data-category="Tips">Tips <span class="quarto-category-count">(2)</span></div><div class="category" data-category="ggspatial">ggspatial <span class="quarto-category-count">(1)</span></div><div class="category" data-category="sf">sf <span class="quarto-category-count">(1)</span></div><div class="category" data-category="terra">terra <span class="quarto-category-count">(1)</span></div></div></div>
<h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-listing-category category-default"><div class="category" data-category="">All <span class="quarto-category-count">(5)</span></div><div class="category" data-category="Agriculture">Agriculture <span class="quarto-category-count">(1)</span></div><div class="category" data-category="CHIRPS">CHIRPS <span class="quarto-category-count">(2)</span></div><div class="category" data-category="Climate">Climate <span class="quarto-category-count">(3)</span></div><div class="category" data-category="Importing data">Importing data <span class="quarto-category-count">(1)</span></div><div class="category" data-category="Methodology">Methodology <span class="quarto-category-count">(2)</span></div><div class="category" data-category="Precipitation">Precipitation <span class="quarto-category-count">(2)</span></div><div class="category" data-category="R">R <span class="quarto-category-count">(3)</span></div><div class="category" data-category="Research concepts">Research concepts <span class="quarto-category-count">(2)</span></div><div class="category" data-category="Tips">Tips <span class="quarto-category-count">(2)</span></div><div class="category" data-category="ggspatial">ggspatial <span class="quarto-category-count">(1)</span></div><div class="category" data-category="sf">sf <span class="quarto-category-count">(1)</span></div><div class="category" data-category="terra">terra <span class="quarto-category-count">(1)</span></div></div></div>
<!-- main -->
<main class="content quarto-banner-title-block column-page-left" id="quarto-document-content">

Expand All @@ -248,7 +248,54 @@ <h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-list

<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-categories="CHIRPS,Precipitation,Climate,Agriculture,terra,sf,ggspatial,R" data-listing-date-sort="1707022800000" data-listing-file-modified-sort="1707755087099" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="31">
<div class="quarto-post image-right" data-index="0" data-categories="Climate,Precipitation,CHIRPS,Methodology,Research concepts" data-listing-date-sort="1708664400000" data-listing-file-modified-sort="1709822796203" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="15">
<div class="thumbnail">
<p><a href="./posts/2024-02-23-rainfall-insights/index.html"> <img src="./posts/2024-02-23-rainfall-insights/images/storm-clouds-over-wheat-field-danger-weather-with-dark-sky-over-fields-SBI-300870591.jpg" class="thumbnail-image"> </a></p>
</div>
<div class="body">
<a href="./posts/2024-02-23-rainfall-insights/index.html">
<h3 class="no-anchor listing-title">
Droplets of Insights for Integrating DHS and Rainfall Data
</h3>
<div class="listing-subtitle">

</div>
</a>
<div class="listing-categories">
<div class="listing-category" onclick="window.quartoListingCategory('Climate'); return false;">
Climate
</div>
<div class="listing-category" onclick="window.quartoListingCategory('Precipitation'); return false;">
Precipitation
</div>
<div class="listing-category" onclick="window.quartoListingCategory('CHIRPS'); return false;">
CHIRPS
</div>
<div class="listing-category" onclick="window.quartoListingCategory('Methodology'); return false;">
Methodology
</div>
<div class="listing-category" onclick="window.quartoListingCategory('Research concepts'); return false;">
Research concepts
</div>
</div>
<a href="./posts/2024-02-23-rainfall-insights/index.html">
<div class="listing-description">
<p>Some factors to consider when obtaining and preparing precipitation data for use with DHS surveys</p>
</div>
</a>
</div>
<div class="metadata">
<a href="./posts/2024-02-23-rainfall-insights/index.html">
<div class="listing-date">
Feb 23, 2024
</div>
<div class="listing-author">
Audrey Dorélien, Molly Brown
</div>
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-categories="CHIRPS,Precipitation,Climate,Agriculture,terra,sf,ggspatial,R" data-listing-date-sort="1707022800000" data-listing-file-modified-sort="1707944218610" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="31">
<div class="thumbnail">
<p><a href="./posts/2024-02-04-dhs-chirps/index.html"> <img src="./posts/2024-02-04-dhs-chirps/index_files/figure-html/listing-img-1.png" class="thumbnail-image"> </a></p>
</div>
Expand Down Expand Up @@ -304,7 +351,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-categories="Climate,Methodology,Research concepts" data-listing-date-sort="1706936400000" data-listing-file-modified-sort="1707755177360" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="5">
<div class="quarto-post image-right" data-index="2" data-categories="Climate,Methodology,Research concepts" data-listing-date-sort="1706936400000" data-listing-file-modified-sort="1707944218608" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="5">
<div class="thumbnail">
<p><a href="./posts/2024-02-03-climate-theory/index.html"> <p class="card-img-top"><img src="posts/2024-02-03-climate-theory/images/pathways.png" class="thumbnail-image card-img"/></p> </a></p>
</div>
Expand Down Expand Up @@ -345,7 +392,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="2" data-categories="Tips,Importing data,R" data-listing-date-sort="1706850000000" data-listing-file-modified-sort="1707755151651" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="4">
<div class="quarto-post image-right" data-index="3" data-categories="Tips,Importing data,R" data-listing-date-sort="1706850000000" data-listing-file-modified-sort="1707944218607" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="4">
<div class="thumbnail">
<p><a href="./posts/2024-02-02-download-dhs-data/index.html"> <img src="./images/dhs_logo_navy.png" class="thumbnail-image"> </a></p>
</div>
Expand Down Expand Up @@ -386,7 +433,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="3" data-categories="Tips,R" data-listing-date-sort="1706763600000" data-listing-file-modified-sort="1707755122549" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="9">
<div class="quarto-post image-right" data-index="4" data-categories="Tips,R" data-listing-date-sort="1706763600000" data-listing-file-modified-sort="1707944218607" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="9">
<div class="thumbnail">
<p><a href="./posts/2024-02-01-getting-started-with-r/index.html"> <p class="card-img-top"><img src="images/hex/Rlogo.png" class="thumbnail-image card-img"/></p> </a></p>
</div>
Expand Down
19 changes: 17 additions & 2 deletions docs/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,22 @@
<atom:link href="https://ipums.github.io/dhs-research-hub/index.xml" rel="self" type="application/rss+xml"/>
<description>Understand population health in its environmental context</description>
<generator>quarto-1.3.450</generator>
<lastBuildDate>Sun, 04 Feb 2024 05:00:00 GMT</lastBuildDate>
<lastBuildDate>Fri, 23 Feb 2024 05:00:00 GMT</lastBuildDate>
<item>
<title>Droplets of Insights for Integrating DHS and Rainfall Data</title>
<dc:creator>Audrey Dorélien</dc:creator>
<dc:creator>Molly Brown</dc:creator>
<link>https://ipums.github.io/dhs-research-hub/posts/2024-02-23-rainfall-insights/index.html</link>
<description><![CDATA[ One barrier to climate change and health research is that many surveys—including the <a href="https://dhsprogram.com/">The Demographic and Health Surveys Program (DHS)</a>—do not collect detailed information on local environmental conditions in survey areas. Fortunately, organizations like <a href="https://www.idhsdata.org/idhs/">IPUMS DHS</a> are now taking steps to use DHS enumeration cluster coordinates to link a limited set of climate variables—including monthly and long-term average precipitation—to individual and household records within the DHS.<span class="citation" data-cites="boyle_contextual_2020"><sup>1</sup></span> ]]></description>
<category>Climate</category>
<category>Precipitation</category>
<category>CHIRPS</category>
<category>Methodology</category>
<category>Research concepts</category>
<guid>https://ipums.github.io/dhs-research-hub/posts/2024-02-23-rainfall-insights/index.html</guid>
<pubDate>Fri, 23 Feb 2024 05:00:00 GMT</pubDate>
<media:content url="https://ipums.github.io/dhs-research-hub/posts/2024-02-23-rainfall-insights/images/storm-clouds-over-wheat-field-danger-weather-with-dark-sky-over-fields-SBI-300870591.jpg" medium="image" type="image/jpeg"/>
</item>
<item>
<title>Attaching CHIRPS Precipitation Data to DHS Surveys</title>
<dc:creator>Finn Roberts</dc:creator>
Expand All @@ -27,7 +42,7 @@
<category>R</category>
<guid>https://ipums.github.io/dhs-research-hub/posts/2024-02-04-dhs-chirps/index.html</guid>
<pubDate>Sun, 04 Feb 2024 05:00:00 GMT</pubDate>
<media:content url="https://ipums.github.io/dhs-research-hub/posts/2024-02-04-dhs-chirps/index_files/figure-html/listing-img-1.png" medium="image" type="image/png" height="115" width="144"/>
<media:content url="https://ipums.github.io/dhs-research-hub/posts/2024-02-04-dhs-chirps/index_files/figure-html/listing-img-1.png" medium="image" type="image/png"/>
</item>
<item>
<title>Developing Robust Conceptual Models in Climate Change and Health Research</title>
Expand Down
1 change: 1 addition & 0 deletions docs/listings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"listing": "/index.html",
"items": [
"/posts/2024-02-23-rainfall-insights/index.html",
"/posts/2024-02-04-dhs-chirps/index.html",
"/posts/2024-02-03-climate-theory/index.html",
"/posts/2024-02-02-download-dhs-data/index.html",
Expand Down
5 changes: 4 additions & 1 deletion docs/posts/2024-02-01-getting-started-with-r/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ <h1 class="title">An Introduction to R</h1>
<li><a href="#terra" id="toc-terra" class="nav-link" data-scroll-target="#terra">terra</a></li>
</ul>
</li>

</ul>
</li>
</ul></nav>
Expand Down Expand Up @@ -490,9 +491,11 @@ <h1 class="title">An Introduction to R</h1>
</div></div><p><a href="https://rspatial.org/">terra</a> provides a general framework for working with spatial data in both raster and vector format.</p>
<p>While sf provides an alternative approach to working with vector data, terra’s raster handling stands alone and provides robust methods to quickly index, aggregate, and manipulate raster data.</p>
<p>Because of its speed and simplicity, terra has superseded the long-lived raster package, which is being retired. You may still see online resources that reference the raster package, but we suggest relying only on terra.</p>
</section></section></section><div id="quarto-appendix" class="default"><section id="getting-help" class="level2 appendix"><h2 class="anchored quarto-appendix-heading">Getting Help</h2><div class="quarto-appendix-contents">
<p>Questions or comments? Check out the <a href="https://forum.ipums.org">IPUMS User Forum</a> or reach out to IPUMS User Support at ipums@umn.edu.</p>


</section></section></section></main><!-- /main --><script id="quarto-html-after-body" type="application/javascript">
</div></section></div></main><!-- /main --><script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
Expand Down
5 changes: 4 additions & 1 deletion docs/posts/2024-02-02-download-dhs-data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ <h1 class="title">Obtaining Data from IPUMS DHS</h1>
<a href="#load-ipums-dhs-data-into-r" id="toc-load-ipums-dhs-data-into-r" class="nav-link" data-scroll-target="#load-ipums-dhs-data-into-r">Load IPUMS DHS data into R</a>
<ul class="collapse">
<li><a href="#why-use-ipumsr" id="toc-why-use-ipumsr" class="nav-link" data-scroll-target="#why-use-ipumsr">Why use ipumsr?</a></li>

</ul>
</li>
</ul></nav>
Expand Down Expand Up @@ -405,9 +406,11 @@ <h1 class="title">Obtaining Data from IPUMS DHS</h1>
</section><section id="access-the-ipums-api" class="level4"><h4 class="anchored" data-anchor-id="access-the-ipums-api">Access the IPUMS API</h4>
<p>Finally, ipumsr provides an R interface for the IPUMS API, allowing you to request and download data entirely within your R environment. While these features do not currently support IPUMS DHS, work on the API is ongoing, so you may be able to access IPUMS DHS data in the future! To see more about the projects that are currently supported by the IPUMS API, check out the <a href="https://developer.ipums.org/docs/v2/apiprogram/">API documentation</a>.</p>
<p>See the <a href="https://tech.popdata.org/ipumsr/articles/ipums-api.html">API introduction</a> to learn how to use ipumsr to interact with the IPUMS API.</p>
</section></section></section><div id="quarto-appendix" class="default"><section id="getting-help" class="level2 appendix"><h2 class="anchored quarto-appendix-heading">Getting Help</h2><div class="quarto-appendix-contents">
<p>Questions or comments? Check out the <a href="https://forum.ipums.org">IPUMS User Forum</a> or reach out to IPUMS User Support at ipums@umn.edu.</p>


</section></section></section></main><!-- /main --><script id="quarto-html-after-body" type="application/javascript">
</div></section></div></main><!-- /main --><script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
Expand Down
11 changes: 8 additions & 3 deletions docs/posts/2024-02-03-climate-theory/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ <h2 id="toc-title">Contents</h2>
<ul class="collapse">
<li><a href="#for-more-information" id="toc-for-more-information" class="nav-link" data-scroll-target="#for-more-information">For more information</a></li>
</ul></li>

</ul>
</nav>
</nav>
Expand Down Expand Up @@ -338,13 +339,17 @@ <h3 class="anchored" data-anchor-id="for-more-information">For more information<
<p>To learn more about the technical modeling implications of climate-change-and-health conceptual models, see Dorélien and Grace (2023).<span class="citation" data-cites="Dorelien2023"><sup><a href="#ref-Dorelien2023" role="doc-biblioref">4</a></sup></span></p>
<p>To see a specific model of the impact of climate change on women’s reproductive health in Africa, see Grace (2017).<span class="citation" data-cites="Grace2017"><sup><a href="#ref-Grace2017" role="doc-biblioref">3</a></sup></span></p>
<p>For further delineation of the elements in climate-change-and-health models (in the U.S. context), see Balbus et al.&nbsp;(2016).<span class="citation" data-cites="Balbus2016"><sup><a href="#ref-Balbus2016" role="doc-biblioref">5</a></sup></span></p>
</section>
</section>


<div id="quarto-appendix" class="default"><section id="getting-help" class="level2 appendix"><h2 class="anchored quarto-appendix-heading">Getting Help</h2><div class="quarto-appendix-contents">

<p>Questions or comments? Check out the <a href="https://forum.ipums.org">IPUMS User Forum</a> or reach out to IPUMS User Support at ipums@umn.edu.</p>


</section>
</section>

<div id="quarto-appendix" class="default"><section class="quarto-appendix-contents" role="doc-bibliography"><h2 class="anchored quarto-appendix-heading">References</h2><div id="refs" class="references csl-bib-body hanging-indent" data-line-spacing="2" role="list">
</div></section><section class="quarto-appendix-contents" role="doc-bibliography"><h2 class="anchored quarto-appendix-heading">References</h2><div id="refs" class="references csl-bib-body hanging-indent" data-line-spacing="2" role="list">
<div id="ref-Ebi2018" class="csl-entry" role="listitem">
1. Ebi, K. L., Balbus, J. M., Luber, G., Bole, A., Crimmins, A., Glass, G., Shubhayu, S., Shimamoto, M. M., Trtanj, J., &amp; White-Newsome, J. L. (2018). Human health. In D. R. Reidmiller, C. W. Avery, D. R. Easterling, K. E. Kunkel, K. L. M. Lewis, T. K. Maycock, &amp; B. C. Stewart (Eds.), <em>Impacts, Risks, and Adaptation in the United States: Fourth National Climate Assessment</em> (Vol. 2, pp. 539–571). U.S. Global Change Research Program. <a href="https://doi.org/10.7930/NCA4.2018.CH14">https://doi.org/10.7930/NCA4.2018.CH14</a>
</div>
Expand Down
Loading

0 comments on commit e4c77c6

Please sign in to comment.