Skip to content

Commit

Permalink
Merge pull request #521 from smartlab-br/520-update-population-indicator
Browse files Browse the repository at this point in the history
Adjusting population cards
  • Loading branch information
danielamguerra authored Nov 27, 2023
2 parents e86ac85 + 687bc14 commit 60618e0
Show file tree
Hide file tree
Showing 9 changed files with 830 additions and 445 deletions.
58 changes: 42 additions & 16 deletions br/observatorio/base.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,44 @@
# ====================================================
master:
template: '{0} habitantes (IBGE, {1})'
preloaded:
prop: "centralindicadores"
function: "slice"
id: "POP_DOU_01"
year: "max"
args:
- named_prop: "vl_indicador"
format: 'inteiro'
collapse:
format: 'real'
precision: 1
- function: "format_scope"
fn_args:
- named_prop: "nu_competencia"
- fixed: "year"
- template: '{0} habitantes em {1}, com variação de {2}'
preloaded:
prop: "centralindicadores"
function: "slice"
id: ["01_17_01_00","01_17_04_00"]
year: "max"
args:
- id: "01_17_01_00"
named_prop: "vl_indicador"
format: 'inteiro'
collapse:
format: 'real'
precision: 1
uiTags: False
- function: "format_scope"
fn_args:
- id: "01_17_01_00"
named_prop: "nu_competencia"
- fixed: "year"
- id: "01_17_04_00"
named_prop: "vl_indicador"
format: 'porcentagem'
precision: 2
uiTags: False
- template: '{0} habitantes em {1} ({2})'
preloaded:
prop: "centralindicadores"
function: "slice"
id: "01_17_01_00"
year: "2010"
args:
- named_prop: "vl_indicador"
format: 'inteiro'
collapse:
format: 'real'
precision: 1
uiTags: False
- function: "format_scope"
fn_args:
- named_prop: "nu_competencia"
- fixed: "year"
- named_prop: "ds_fonte"
Loading

0 comments on commit 60618e0

Please sign in to comment.