Skip to content

Commit

Permalink
Adjusting population cards
Browse files Browse the repository at this point in the history
  • Loading branch information
danielamguerra committed Nov 22, 2023
1 parent 71a7a9a commit 91f1b46
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions br/observatorio/base.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
# ====================================================
master:
template: '{0}&nbsp;habitantes em 2022, com variação de {1}% em relação a 2010 ({2}&nbsp;habitantes)<br/>({3})'
api:
template: "/indicadoresmunicipais?categorias=cd_municipio_ibge_dv,nm_municipio,vl_indicador,concat(nu_competencia,'_',cd_indicador)-cd_indicador,ds_fonte&filtros=in-cd_indicador-'01_17_04_00'-'01_17_01_00',and,eq-cd_municipio_ibge_dv-{0}"
args:
- named_prop: "idLocalidade"
options:
cast:
col_fields: ["cd_municipio_ibge_dv","nm_municipio","ds_fonte"]
value_field: "vl_indicador"
layer_field: "cd_indicador"
template: '{0}&nbsp;habitantes ({1}, {2})'
preloaded:
prop: "centralindicadores"
function: "slice"
id: "01_17_01_00"
year: "max"
args:
- named_prop: "2022_01_17_01_00"
- named_prop: "vl_indicador"
format: 'inteiro'
uiTags: False
collapse:
format: 'real'
precision: 1
- named_prop: "2022_01_17_04_00"
format: 'real'
precision: 2
- named_prop: "2010_01_17_01_00"
format: 'inteiro'
uiTags: False
collapse:
format: 'real'
precision: 1
- named_prop: "ds_fonte"
- function: "format_scope"
fn_args:
- named_prop: "nu_competencia"
- fixed: "year"

0 comments on commit 91f1b46

Please sign in to comment.