Skip to content

Commit

Permalink
new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wokech committed Dec 7, 2023
1 parent b883cbf commit e92b637
Show file tree
Hide file tree
Showing 27 changed files with 4,249 additions and 2,856 deletions.
8 changes: 4 additions & 4 deletions _site/0_unpublished/danger_disturb.html
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ <h1 class="title">Code Along With Me (Episode 1)</h1>

<section id="introduction" class="level1">
<h1>Introduction</h1>
<p>In February 2023, the government of Kenya described six counties as “disturbed” and “dangerous.” This is because in the preceding six months, over 100 civilians and 16 police officers have lost their lives as criminals engaged in banditry and livestock theft have terrorized the rural villages. One of the main causes of the conflict is livestock theft, therefore, the goal of this analysis is to perform an exploratory data analysis of livestock numbers from the Kenya Population and Housing Census (2019) report.</p>
<p>In February 2023, the government of Kenya described six counties as “disturbed” and “dangerous.” This is because in the preceding six months, over 100 civilians and 16 police officers have lost their lives, as criminals engaged in banditry have terrorized the rural villages. One of the main causes of the conflict is livestock theft, therefore, my goal is to perform an exploratory data analysis of livestock numbers from the Kenya Population and Housing Census (2019) report.</p>
<p>References</p>
<ol type="1">
<li><a href="https://nation.africa/kenya/news/killing-fields-kdf-police-versus-bandits-who-will-prevail--4122912">Nation Media News Brief</a></li>
Expand Down Expand Up @@ -915,9 +915,9 @@ <h2 class="anchored" data-anchor-id="f-number-of-pastoral-livestock-per-househol
</section>
<section id="section-5-conclusion" class="level1">
<h1>Section 5: Conclusion</h1>
<p>The goal of this analysis was to look at pastoral livestock distributions….</p>
<p>Show the reader how to plot….</p>
<p>Conclude that</p>
<p>In this post, I have assessed the pastoral livestock (indigenous cattle, sheep, and goats) populations in the Kenyan counties described as “disturbed and dangerous.” A major contributor to this classification is the banditry, livestock theft, and limited amounts of pasture and water available to livestock owners. To get a better sense of the number of households engaged in farming and the pastoral livestock populations in these counties, I performed an exploratory data analysis and visualized my results.</p>
<p>Key findings from the study were that: 1. Turkana and Samburu had some of the highest numbers of pastoral livestock, yet they had the fewest numbers of households engaged in farming. This meant that both these counties had the highest average livestock to farming household ratios in the region (Turkana: 55 per household and Samburu: 36 per household). 2. The top three (3) subcounties with the highest average ratios of pastoral livestock to farming households were in Turkana. They included Turkana East (126), Kibish (96), and Turkana West (56). Surprisingly, counties such as Keiyo North (4), Koibatek (4), and Nyahururu (4) had very low ratios of pastoral livestock to farming household ratios despite having relatively high numbers of farming households. This may have resulted from the unsuitability of the land for grazing animals, small average land sizes per farming household, a switch to exotic dairy and beef livestock, or simply, a preference for crop, rather than livestock farming.</p>
<p>In the next analysis, I will assess the livestock numbers per area (square kilometers), the numbers of indigenous cattle, sheep, and goats in every county and subcounty, as well as the other animal husbandry and/or crop farming activities that take place in the region. The reader is encouraged to use this code and data package (rKenyaCensus) to come up with their own analyses to share with the world.</p>


</section>
Expand Down
545 changes: 351 additions & 194 deletions _site/blog.html

Large diffs are not rendered by default.

3,222 changes: 3,112 additions & 110 deletions _site/blog.xml

Large diffs are not rendered by default.

26 changes: 14 additions & 12 deletions _site/listings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@
{
"listing": "/blog.html",
"items": [
"/posts/series_1/new_post_8/post_8.html",
"/posts/series_1/new_post_7/post_7.html",
"/posts/series_1/new_post_6/post_6.html",
"/posts/series_1/new_post_5/post_5.html",
"/posts/series_1/new_post_4/post_4.html",
"/posts/series_1/new_post_3/post_3.html",
"/posts/series_1/new_post_2/post_2.html",
"/posts/series_1/new_post_1/post_1.html",
"/posts/series_2/new_post_3/post_3.html",
"/posts/series_2/new_post_2/post_2.html",
"/posts/series_2/new_post_1/post_1.html",
"/posts/series_3/new_post_1/post_1.html"
"/posts/r_rstudio_basics/data_structures/data_structures.html",
"/posts/r_rstudio_basics/missing_data/missing_data.html",
"/posts/r_rstudio_basics/vectors/vectors.html",
"/posts/r_rstudio_basics/operators/operators.html",
"/posts/r_rstudio_basics/data_types/data_types.html",
"/posts/r_rstudio_basics/variables/post_3.html",
"/posts/r_rstudio_basics/arithmetic/arithmetic.html",
"/posts/r_rstudio_basics/software_install/software_install.html",
"/posts/data_stories/cas_kenya_viz/cas_kenya_viz.html",
"/posts/data_stories/asbestos_roof_kenya/asbestos_roof_kenya.html",
"/posts/data_stories/kenya_gender_dist/kenya_gender_dist.html",
"/posts/code_along_with_me/danger_disturb/danger_disturb.html",
"/posts/biotech/alt_protein/alt_protein_intro.html",
"/posts/biotech/alt_protein/post_1.html"
]
},
{
Expand Down
708 changes: 704 additions & 4 deletions _site/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _site/site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

66 changes: 63 additions & 3 deletions _site/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@
</url>
<url>
<loc>https://williamokech.com/blog.html</loc>
<lastmod>2023-11-13T17:54:38.571Z</lastmod>
<lastmod>2023-12-07T12:19:45.077Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/about.html</loc>
<lastmod>2023-11-13T17:54:33.484Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/index.html</loc>
<lastmod>2023-11-13T17:54:39.366Z</lastmod>
<lastmod>2023-12-07T12:19:33.433Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/portfolio/open_sci_repro.html</loc>
Expand Down Expand Up @@ -234,6 +234,66 @@
</url>
<url>
<loc>https://williamokech.com/0_unpublished/danger_disturb.html</loc>
<lastmod>2023-12-01T20:06:49.282Z</lastmod>
<lastmod>2023-12-07T10:49:49.038Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/biotech/new_post_1/post_1.html</loc>
<lastmod>2023-12-07T11:35:14.374Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/code_along_with_me/danger_disturb/danger_disturb.html</loc>
<lastmod>2023-12-07T12:06:39.955Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/variables/post_3.html</loc>
<lastmod>2023-12-07T11:58:24.767Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/operators/operators.html</loc>
<lastmod>2023-12-07T11:58:15.873Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/data_types/data_types.html</loc>
<lastmod>2023-12-07T11:58:06.944Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/arithmetic/arithmetic.html</loc>
<lastmod>2023-12-07T11:57:52.113Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/data_stories/cas_kenya_viz/cas_kenya_viz.html</loc>
<lastmod>2023-12-07T11:57:43.165Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/biotech/alt_protein/post_1.html</loc>
<lastmod>2023-12-07T12:12:08.625Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/biotech/alt_protein/alt_protein_intro.html</loc>
<lastmod>2023-12-07T12:13:22.005Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/data_stories/asbestos_roof_kenya/asbestos_roof_kenya.html</loc>
<lastmod>2023-12-07T11:57:40.664Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/data_stories/kenya_gender_dist/kenya_gender_dist.html</loc>
<lastmod>2023-12-07T11:57:45.442Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/data_structures/data_structures.html</loc>
<lastmod>2023-12-07T11:58:00.001Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/missing_data/missing_data.html</loc>
<lastmod>2023-12-07T11:58:08.917Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/software_install/software_install.html</loc>
<lastmod>2023-12-07T11:58:18.417Z</lastmod>
</url>
<url>
<loc>https://williamokech.com/posts/r_rstudio_basics/vectors/vectors.html</loc>
<lastmod>2023-12-07T11:58:32.391Z</lastmod>
</url>
</urlset>
64 changes: 0 additions & 64 deletions posts/series_1/new_post_1/post_1.qmd

This file was deleted.

97 changes: 0 additions & 97 deletions posts/series_1/new_post_2/post_2.qmd

This file was deleted.

Loading

0 comments on commit e92b637

Please sign in to comment.