Skip to content

Commit

Permalink
add load_core_hh_indicators example for NGA
Browse files Browse the repository at this point in the history
  • Loading branch information
zackarno committed Oct 21, 2022
1 parent f41e987 commit 8e800ff
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
8 changes: 6 additions & 2 deletions R/load_core_hh_indicators.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ load_core_hh_indicators <- function(country_code="irq"){

}
if(country_code=="som"){
list(

}
if(country_code=="nga"){
res <- list(
`Flooding Incident` = "nature_safety_incident/flooding",
`Livestock decrease (rain)` = "hoh_livestock_decrease/drought"
)

}
return(res)
}
Expand Down
7 changes: 7 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ load_core_hh_indicators <- function(country_code="irq"){
)
}
if(country_code=="nga"){
res <- list(
`Flooding Incident` = "nature_safety_incident/flooding",
`Livestock decrease (rain)` = "hoh_livestock_decrease/drought"
)
}
return(res)
}
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ load_core_hh_indicators <- function(country_code="irq"){

)
}
if(country_code=="nga"){
res <- list(
`Flooding Incident` = "nature_safety_incident/flooding",
`Livestock decrease (rain)` = "hoh_livestock_decrease/drought"
)

}
return(res)
}
```

0 comments on commit 8e800ff

Please sign in to comment.