Skip to content

Commit

Permalink
Add population proportion indicator for population pyramid plot
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ash committed Nov 28, 2024
1 parent 3d7abee commit e72e10e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions inst/metadata/colour_scales.csv
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ default,art_new,interpolateGreens,0,80000,FALSE
default,vl_tested_12mos,interpolatePurples,0,60000,FALSE
default,vl_suppressed_12mos,interpolatePurples,0,60000,FALSE
default,population_ratio,interpolateGreys,0,1.2,FALSE
default,population_proportion,interpolateGreys,0,1.2,FALSE
default,plhiv_ratio,interpolateReds,0,1.2,FALSE
default,infections_ratio,interpolateBlues,0,1.2,FALSE
default,art_current_ratio,interpolateGreens,0,1.2,FALSE
Expand Down
1 change: 1 addition & 0 deletions inst/metadata/meta_indicator.csv
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ aware_plhiv_prop_ratio,t_(AWARE_PLHIV_PROP_RATIO),,,35,FALSE,,
incidence_ratio,t_(INCIDENCE_RATIO),,,36,FALSE,,
anc_prevalence_age_matched,t_(ANC_PREVALENCE_AGE_MATCHED),,,37,TRUE,,
anc_art_coverage_age_matched,t_(ANC_ART_COVERAGE_AGE_MATCHED),,,38,TRUE,,
population_proportion,t_(POPULATION_PROPORTION),,,39,FALSE,,
2 changes: 1 addition & 1 deletion inst/metadata/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ input_comparison,barchart,anc_known_pos,value,,,,anc_known_pos,t_(ANC_KNOWN_POS)
input_comparison,barchart,anc_tested,value,,,,anc_tested,t_(ANC_TESTED),1,1,"""0,0"""
input_comparison,barchart,anc_tested_pos,value,,,,anc_tested_pos,t_(ANC_TESTED_POS),1,1,"""0,0"""
population,pyramid,population,population,,,,population,t_(POPULATION),1,1,"""0,0"""
population,pyramid,population_ratio,population,,,,population_ratio,t_(POPULATION_RATIO),1,1,"""0.0%"""
population,pyramid,population_proportion,population,,,,population_proportion,t_(POPULATION_PROPORTION),1,1,"""0.0%"""
3 changes: 2 additions & 1 deletion inst/traduire/en-translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,5 +275,6 @@
"DOWNLOAD_COMPARISON_DESCRIPTION": "Naomi comparison report uploaded from Naomi web app",
"DOWNLOAD_AGYW_DESCRIPTION": "Naomi AGYW tool uploaded from Naomi web app",
"NUMBER_ON_ART": "Number on ART",
"NUMBER_ON_ART_DESC": "Number on ART description"
"NUMBER_ON_ART_DESC": "Number on ART description",
"POPULATION_PROPORTION": "Population proportion"
}
3 changes: 2 additions & 1 deletion inst/traduire/fr-translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,6 @@
"DOWNLOAD_SUMMARY_DESCRIPTION": "Rapport de synthèse Naomi téléchargé depuis l'application web Naomi",
"DOWNLOAD_COMPARISON_DESCRIPTION": "Rapport de comparaison Naomi téléchargé à partir de l'application web Naomi",
"NUMBER_ON_ART": "Nombre de personnes sous TARV",
"NUMBER_ON_ART_DESC": "Number on ART description"
"NUMBER_ON_ART_DESC": "Number on ART description",
"POPULATION_PROPORTION": "Proportion de la population"
}
3 changes: 2 additions & 1 deletion inst/traduire/pt-translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,6 @@
"DOWNLOAD_SUMMARY_DESCRIPTION": "Relatório de síntese da Naomi carregado da aplicação web Naomi",
"DOWNLOAD_COMPARISON_DESCRIPTION": "Relatório de comparação Naomi carregado a partir da aplicação web Naomi",
"NUMBER_ON_ART": "Nombre de personnes sous TARV",
"NUMBER_ON_ART_DESC": "Number on ART description"
"NUMBER_ON_ART_DESC": "Number on ART description",
"POPULATION_PROPORTION": "Proporção da população"
}

0 comments on commit e72e10e

Please sign in to comment.