Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
LouiseAnder committed Jan 2, 2025
1 parent f2b16da commit 2f44a1e
Show file tree
Hide file tree
Showing 19 changed files with 4,477 additions and 21 deletions.
16 changes: 9 additions & 7 deletions 03_MethodsMetrics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -496,13 +496,13 @@ Sources:

\(4\) Average content of released varieties according to HarvestPlus <https://bcr.harvestplus.org/varieties_released/country?id_country=134&country_name=Malawi> and assuming 12:1 conversion ratio of pro-vitamin A (PVA) to retinol activity equivalents (RAE).

\(5\) Average content of released varieties in Rwanda according to HarvestPlus <https://bcr.harvestplus.org/varieties_released/country?id_country=184&country_name=Rwanda>.
&nbsp;
&nbsp;
\(5\) Average content of released varieties in Rwanda according to HarvestPlus <https://bcr.harvestplus.org/varieties_released/country?id_country=184&country_name=Rwanda>.  \
 \

<center>Table 6. Agronomic biofortification effectiveness parameters: granular application</center>

| Micronutrient | Crop | Additional concentration from agronomic biofortification | Units | Source |
|:---------:|:---------:|:-----------------:|:---------:|:-------------------:|
|:-------------:|:----------:|:--------------------------------------------------------:|:-----:|:------------------------------------------------------------:|
| zinc | millet | 0.004 | mg/g | Calculation based on Teklu, Gashu, Joy et al. (2023) |
| zinc | groundnut | *(no data)* | | |
| zinc | maize | 0.002 | mg/g | Calculation based on Botoman, Chimungu, Bailey et al. (2022) |
Expand All @@ -515,12 +515,14 @@ Sources:
| selenium | maize | 0.209 | mcg/g | Ligowe et al. (2020) |
| selenium | pigeon pea | 0.017 | mcg/g | Ligowe et al. (2020) |
| iron | millet | 0.027 | mg/g | Calculation based on Teklu et al. (2023) |
&nbsp;
&nbsp;

 \
 \

<center>Table 7. Agronomic biofortification effectiveness parameters: foliar application</center>

| Micronutrient | Crop | Additional concentration from agronomic biofortification | Units | Source |
|:----------:|:----------:|:---------------------:|:----------:|:-------------:|
|:-------------:|:---------:|:--------------------------------------------------------:|:-----:|:--------------------------------------:|
| zinc | maize | 0.004 | mg/g | Calculation based on Joy et al. (2015) |
| zinc | rice | 0.004 | mg/g | Calculation based on Joy et al. (2015) |
| zinc | wheat | 0.012 | mg/g | Zia, Ahmed,Bailey et al. (2020) |
Expand Down
144 changes: 144 additions & 0 deletions docs/01_DefineIntervention.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<meta name="quarto:offset" content="./">
<link href="./02_Methods.html" rel="next">
<link href="./intro.html" rel="prev">
<link href=".//images/MAPS_sticker_purple.png" rel="icon" type="image/png">
<script src="site_libs/quarto-html/quarto.js"></script>
<script src="site_libs/quarto-html/popper.min.js"></script>
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
Expand Down Expand Up @@ -1074,6 +1075,149 @@ <h2 data-number="3.3" class="anchored" data-anchor-id="nature-of-intervention"><
</div>
</nav>
</div> <!-- /content -->
<script>

fetch('https://api.micronutrient.support/v2/self/version').then(function (response) {

// The API call was successful!

return response.json();

}).then(function (data) {

// This is the JSON from our response

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'api-version') {

element.innerHTML = data.data[0].api

}

if(element.innerHTML === 'data-seed') {

element.innerHTML = data.data[0].seed

}

if(element.innerHTML === 'data-schema') {

element.innerHTML = data.data[0].schema

}

console.log(element.innerHTML)

// do stuff

}

);

}).catch(function (err) {

// There was an error

console.warn('Something went wrong.', err);

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'api-version') {

element.innerHTML = 'Error loading API version'

element.classList.add('error')

}

if(element.innerHTML === 'data-seed') {

element.innerHTML = 'Error loading data seed version'

element.classList.add('error')

}

if(element.innerHTML === 'data-schema') {

element.innerHTML = 'Error loading data schema version'

element.classList.add('error')

}

}

);

});

fetch('https://maps.micronutrient.support/assets/version.json').then(function (response) {

// The API call was successful!

console.log(response)

return response.json();

}).then(function (data) {

console.log(data)

// This is the JSON from our response

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'tool-version') {

element.innerHTML = data.version

}

}

);

}).catch(function (err) {

// There was an error

console.warn('Something went wrong.', err);

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'tool-version') {

element.innerHTML = 'Error loading tool version'

element.classList.add('error')

}

}

);

});

</script>

<style>

.replace { font-weight: bold; }

.error { color: #990000; }

</style>



Expand Down
144 changes: 144 additions & 0 deletions docs/02_Methods.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<meta name="quarto:offset" content="./">
<link href="./03_MethodsMetrics.html" rel="next">
<link href="./01_DefineIntervention.html" rel="prev">
<link href=".//images/MAPS_sticker_purple.png" rel="icon" type="image/png">
<script src="site_libs/quarto-html/quarto.js"></script>
<script src="site_libs/quarto-html/popper.min.js"></script>
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
Expand Down Expand Up @@ -728,6 +729,149 @@ <h3 data-number="4.2.2" class="anchored" data-anchor-id="data-sources-and-method
</div>
</nav>
</div> <!-- /content -->
<script>

fetch('https://api.micronutrient.support/v2/self/version').then(function (response) {

// The API call was successful!

return response.json();

}).then(function (data) {

// This is the JSON from our response

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'api-version') {

element.innerHTML = data.data[0].api

}

if(element.innerHTML === 'data-seed') {

element.innerHTML = data.data[0].seed

}

if(element.innerHTML === 'data-schema') {

element.innerHTML = data.data[0].schema

}

console.log(element.innerHTML)

// do stuff

}

);

}).catch(function (err) {

// There was an error

console.warn('Something went wrong.', err);

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'api-version') {

element.innerHTML = 'Error loading API version'

element.classList.add('error')

}

if(element.innerHTML === 'data-seed') {

element.innerHTML = 'Error loading data seed version'

element.classList.add('error')

}

if(element.innerHTML === 'data-schema') {

element.innerHTML = 'Error loading data schema version'

element.classList.add('error')

}

}

);

});

fetch('https://maps.micronutrient.support/assets/version.json').then(function (response) {

// The API call was successful!

console.log(response)

return response.json();

}).then(function (data) {

console.log(data)

// This is the JSON from our response

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'tool-version') {

element.innerHTML = data.version

}

}

);

}).catch(function (err) {

// There was an error

console.warn('Something went wrong.', err);

Array.from(document.getElementsByClassName("replace")).forEach(

function(element, index, array) {

if(element.innerHTML === 'tool-version') {

element.innerHTML = 'Error loading tool version'

element.classList.add('error')

}

}

);

});

</script>

<style>

.replace { font-weight: bold; }

.error { color: #990000; }

</style>



Expand Down
Loading

0 comments on commit 2f44a1e

Please sign in to comment.