Skip to content

Commit

Permalink
Add price value, review text
Browse files Browse the repository at this point in the history
  • Loading branch information
langbart committed Jan 8, 2024
1 parent b190fec commit 3ede6ed
Show file tree
Hide file tree
Showing 33 changed files with 141 additions and 35 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions data-raw/get-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,18 @@ kobo_trips <-
) %>%
dplyr::ungroup()

catch_data <-
trips %>%
dplyr::filter(landing_id %in% kobo_trips$landing_id) %>%
dplyr::select(landing_id, landing_value, landing_catch)

usethis::use_data(RDI_tab, overwrite = TRUE)
usethis::use_data(catch_groups, overwrite = TRUE)
usethis::use_data(timor_population, overwrite = TRUE)
usethis::use_data(nutrients_table, overwrite = TRUE)
usethis::use_data(region_stats, overwrite = TRUE)
usethis::use_data(kobo_trips, overwrite = TRUE)
usethis::use_data(catch_data, overwrite = TRUE)
devtools::document()

#data_list <- get_model_data()
Expand Down
Binary file added data/catch_data.rda
Binary file not shown.
3 changes: 2 additions & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
<li class="chapter" data-level="4" data-path="distribution.html"><a href="distribution.html"><i class="fa fa-check"></i><b>4</b> Nutrients distribution</a>
<ul>
<li class="chapter" data-level="4.1" data-path="distribution.html"><a href="distribution.html#fish-groups"><i class="fa fa-check"></i><b>4.1</b> Fish groups</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.2</b> Habitat and gear type</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#nutrional-and-price-values"><i class="fa fa-check"></i><b>4.2</b> Nutrional and price values</a></li>
<li class="chapter" data-level="4.3" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.3</b> Habitat and gear type</a></li>
</ul></li>
<li class="chapter" data-level="5" data-path="profiles.html"><a href="profiles.html"><i class="fa fa-check"></i><b>5</b> Timor SSF nutrient profiles</a>
<ul>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
<li class="chapter" data-level="4" data-path="distribution.html"><a href="distribution.html"><i class="fa fa-check"></i><b>4</b> Nutrients distribution</a>
<ul>
<li class="chapter" data-level="4.1" data-path="distribution.html"><a href="distribution.html#fish-groups"><i class="fa fa-check"></i><b>4.1</b> Fish groups</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.2</b> Habitat and gear type</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#nutrional-and-price-values"><i class="fa fa-check"></i><b>4.2</b> Nutrional and price values</a></li>
<li class="chapter" data-level="4.3" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.3</b> Habitat and gear type</a></li>
</ul></li>
<li class="chapter" data-level="5" data-path="profiles.html"><a href="profiles.html"><i class="fa fa-check"></i><b>5</b> Timor SSF nutrient profiles</a>
<ul>
Expand Down
24 changes: 17 additions & 7 deletions docs/distribution.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
<li class="chapter" data-level="4" data-path="distribution.html"><a href="distribution.html"><i class="fa fa-check"></i><b>4</b> Nutrients distribution</a>
<ul>
<li class="chapter" data-level="4.1" data-path="distribution.html"><a href="distribution.html#fish-groups"><i class="fa fa-check"></i><b>4.1</b> Fish groups</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.2</b> Habitat and gear type</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#nutrional-and-price-values"><i class="fa fa-check"></i><b>4.2</b> Nutrional and price values</a></li>
<li class="chapter" data-level="4.3" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.3</b> Habitat and gear type</a></li>
</ul></li>
<li class="chapter" data-level="5" data-path="profiles.html"><a href="profiles.html"><i class="fa fa-check"></i><b>5</b> Timor SSF nutrient profiles</a>
<ul>
Expand Down Expand Up @@ -143,9 +144,9 @@ <h1><span class="header-section-number">4</span> Nutrients distribution<a href="
<div id="fish-groups" class="section level2 hasAnchor" number="4.1">
<h2><span class="header-section-number">4.1</span> Fish groups<a href="distribution.html#fish-groups" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<div class="figure"><span style="display:block;" id="fig:unnamed-chunk-2"></span>
<img src="Timor-nutrient-sensitive-fisheries-management_files/figure-html/unnamed-chunk-2-1.png" alt="The bar chart illustrates the contribution of a variety of marine food sources to the Recommended Nutrient Intake (RNI) for six fundamental nutrients, based on a 100g portion. The x-axis represents the proportion of RNI fulfilled, with the 100% benchmark signifying the complete RNI for an adult woman of reproductive age. Each bar is a color-segmented stacked visual, with distinct hues corresponding to individual nutrients, and white numbers within indicating the specific percentage contribution of each nutrient. The chart incorporates the total annual catch in metric tons for each marine species from 2018 to 2023, presented at the end of each bar, providing a view of both the nutritional value and the harvest volume of these essential food sources. The transparency of these values is adjusted to reflect each species' relative contribution to the overall catch" width="80%" />
<img src="Timor-nutrient-sensitive-fisheries-management_files/figure-html/unnamed-chunk-2-1.png" alt="The bar chart illustrates the contribution of a variety of marine food sources to the Recommended Nutrient Intake (RNI) for six fundamental nutrients, based on a 100g portion. Each bar is a color-segmented stacked visual, with distinct hues corresponding to individual nutrients, and white numbers within indicating the specific percentage contribution of each nutrient. The chart incorporates the mean annual catch in metric tons for each marine species from 2018 to 2023, presented at the end of each bar, providing a view of both the nutritional value and the harvest volume of these essential food sources. The transparency of these values is adjusted to reflect each species' relative contribution to the mean annual catch" width="80%" />
<p class="caption">
Figure 4.1: The bar chart illustrates the contribution of a variety of marine food sources to the Recommended Nutrient Intake (RNI) for six fundamental nutrients, based on a 100g portion. The x-axis represents the proportion of RNI fulfilled, with the 100% benchmark signifying the complete RNI for an adult woman of reproductive age. Each bar is a color-segmented stacked visual, with distinct hues corresponding to individual nutrients, and white numbers within indicating the specific percentage contribution of each nutrient. The chart incorporates the total annual catch in metric tons for each marine species from 2018 to 2023, presented at the end of each bar, providing a view of both the nutritional value and the harvest volume of these essential food sources. The transparency of these values is adjusted to reflect each species’ relative contribution to the overall catch
Figure 4.1: The bar chart illustrates the contribution of a variety of marine food sources to the Recommended Nutrient Intake (RNI) for six fundamental nutrients, based on a 100g portion. Each bar is a color-segmented stacked visual, with distinct hues corresponding to individual nutrients, and white numbers within indicating the specific percentage contribution of each nutrient. The chart incorporates the mean annual catch in metric tons for each marine species from 2018 to 2023, presented at the end of each bar, providing a view of both the nutritional value and the harvest volume of these essential food sources. The transparency of these values is adjusted to reflect each species’ relative contribution to the mean annual catch
</p>
</div>
<div class="figure"><span style="display:block;" id="fig:unnamed-chunk-3"></span>
Expand All @@ -155,12 +156,21 @@ <h2><span class="header-section-number">4.1</span> Fish groups<a href="distribut
</p>
</div>
</div>
<div id="habitat-and-gear-type" class="section level2 hasAnchor" number="4.2">
<h2><span class="header-section-number">4.2</span> Habitat and gear type<a href="distribution.html#habitat-and-gear-type" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<div id="nutrional-and-price-values" class="section level2 hasAnchor" number="4.2">
<h2><span class="header-section-number">4.2</span> Nutrional and price values<a href="distribution.html#nutrional-and-price-values" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<div class="figure"><span style="display:block;" id="fig:unnamed-chunk-4"></span>
<img src="Timor-nutrient-sensitive-fisheries-management_files/figure-html/unnamed-chunk-4-1.png" alt="Sankey diagram showing the relative distribution of key nutrients across various marine habitats and the corresponding extraction by different fishing gear types used in Timor-Est small-scale fisheries." width="672" />
<img src="Timor-nutrient-sensitive-fisheries-management_files/figure-html/unnamed-chunk-4-1.png" alt="Comparative analysis of nutritional score versus economic accessibility for key fish groups. This scatter plot displays the relationship between the cumulative nutritional score and the market price for various fish groups within Timor-Leste fishery. The x-axis quantifies the cumulative contribution to the Recommended Nutrient Intake (RNI) for six essential nutrients (zinc, protein, omega-3, calcium, iron, vitamin A) from a 100g portion of each fish group. The y-axis represents the average market price per kilogram for each group. Dot size and the accompanying numerical labels reflect the relative catch percentage of each group, serving as an index of accessibility and availability. " width="576" />
<p class="caption">
Figure 4.3: Sankey diagram showing the relative distribution of key nutrients across various marine habitats and the corresponding extraction by different fishing gear types used in Timor-Est small-scale fisheries.
Figure 4.3: Comparative analysis of nutritional score versus economic accessibility for key fish groups. This scatter plot displays the relationship between the cumulative nutritional score and the market price for various fish groups within Timor-Leste fishery. The x-axis quantifies the cumulative contribution to the Recommended Nutrient Intake (RNI) for six essential nutrients (zinc, protein, omega-3, calcium, iron, vitamin A) from a 100g portion of each fish group. The y-axis represents the average market price per kilogram for each group. Dot size and the accompanying numerical labels reflect the relative catch percentage of each group, serving as an index of accessibility and availability.
</p>
</div>
</div>
<div id="habitat-and-gear-type" class="section level2 hasAnchor" number="4.3">
<h2><span class="header-section-number">4.3</span> Habitat and gear type<a href="distribution.html#habitat-and-gear-type" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<div class="figure"><span style="display:block;" id="fig:unnamed-chunk-5"></span>
<img src="Timor-nutrient-sensitive-fisheries-management_files/figure-html/unnamed-chunk-5-1.png" alt="Sankey diagram showing the relative distribution of key nutrients across various marine habitats and the corresponding extraction by different fishing gear types used in Timor-Est small-scale fisheries." width="672" />
<p class="caption">
Figure 4.4: Sankey diagram showing the relative distribution of key nutrients across various marine habitats and the corresponding extraction by different fishing gear types used in Timor-Est small-scale fisheries.
</p>
</div>

Expand Down
7 changes: 4 additions & 3 deletions docs/highlight.html

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
<li class="chapter" data-level="4" data-path="distribution.html"><a href="distribution.html"><i class="fa fa-check"></i><b>4</b> Nutrients distribution</a>
<ul>
<li class="chapter" data-level="4.1" data-path="distribution.html"><a href="distribution.html#fish-groups"><i class="fa fa-check"></i><b>4.1</b> Fish groups</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.2</b> Habitat and gear type</a></li>
<li class="chapter" data-level="4.2" data-path="distribution.html"><a href="distribution.html#nutrional-and-price-values"><i class="fa fa-check"></i><b>4.2</b> Nutrional and price values</a></li>
<li class="chapter" data-level="4.3" data-path="distribution.html"><a href="distribution.html#habitat-and-gear-type"><i class="fa fa-check"></i><b>4.3</b> Habitat and gear type</a></li>
</ul></li>
<li class="chapter" data-level="5" data-path="profiles.html"><a href="profiles.html"><i class="fa fa-check"></i><b>5</b> Timor SSF nutrient profiles</a>
<ul>
Expand Down Expand Up @@ -140,7 +141,7 @@ <h1>
<div id="header">
<h1 class="title">Modelling scenarios for nutrient-sensitive fisheries management</h1>
<p class="author"><em>Lorenzo Longobardi</em></p>
<p class="date"><em>Last update: 2024-01-05</em></p>
<p class="date"><em>Last update: 2024-01-08</em></p>
</div>
<div id="content" class="section level1 hasAnchor" number="1">
<h1><span class="header-section-number">1</span> Content<a href="index.html#content" class="anchor-section" aria-label="Anchor link to header"></a></h1>
Expand Down
Loading

0 comments on commit 3ede6ed

Please sign in to comment.