Skip to content

Commit

Permalink
🚀 Indicador de partos
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Nov 13, 2024
1 parent e73f598 commit 5ebee87
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 1 deletion.
2 changes: 2 additions & 0 deletions aplicaciones/procesador/fuente/aplicacion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ async function procesarDatos() {
await ya18.procesar('1.8: tasa mortalidad menores 1 año', 'YA_1.8', 'Sheet 1', 'ya1-8');
const ya19 = new VariableSingular('tasa_mortalidad_desnutricion_5_años', false, 'tasa', 100000);
await ya19.procesar('1.9: tasa mortalidad desnutrición', 'YA_1.9', 'Sheet 1', 'ya1-9');
const ya10 = new VariableSingular('porcentaje_nacidos_vivos_personal_calificado', true, 'porcentaje');
await ya10.procesar('1.10: partos', 'YA_1.10', 'Sheet 1', 'ya1-10');

/** 2 */
const ya21 = new VariableSingular('neta_transicion', true, 'porcentaje');
Expand Down
3 changes: 2 additions & 1 deletion aplicaciones/procesador/fuente/tipos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ export type VariableValorSingular =
| 'porcentaje_marco_integral'
| 'porcentaje'
| 'P51'
| 'educ_inicial_icbf';
| 'educ_inicial_icbf'
| 'porcentaje_nacidos_vivos_personal_calificado';

export type VariablesSingulares = {
[llave in VariableValorSingular]: number;
Expand Down
1 change: 1 addition & 0 deletions aplicaciones/www/estaticos/datos/Errata ya1-10.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"fila":1334,"error":"No existe municipio con código -1"},{"fila":1335,"error":"No existe municipio con código -1"},{"fila":1336,"error":"No existe municipio con código -1"},{"fila":1337,"error":"No existe municipio con código -1"},{"fila":5451,"error":"No existe municipio con código 3"},{"fila":5452,"error":"No existe municipio con código 3"},{"fila":5453,"error":"No existe municipio con código 3"},{"fila":5454,"error":"No existe municipio con código 3"},{"fila":5455,"error":"No existe municipio con código 3"},{"fila":8409,"error":"No existe municipio con código 68999"}]
1 change: 1 addition & 0 deletions aplicaciones/www/estaticos/datos/ya1-10-dep.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"2015":[["11",83.7],["13",80.33],["15",86.41],["17",88.74],["18",71.01],["19",84.29],["20",88.95],["23",85.09],["25",85.42],["27",54.89],["41",90.72],["44",73.82],["47",79.84],["50",76.84],["52",80.41],["54",83.68],["63",81.31],["66",83.04],["68",90.2],["70",89.97],["73",84.7],["76",88.15],["81",78.17],["85",67.65],["86",79.08],["88",90.35],["91",27.7],["94",41.57],["95",61.39],["97",12.38],["99",38.9],["05",86.33],["08",82.74]],"2016":[["11",82.07],["13",81.26],["15",83.81],["17",89.59],["18",68.98],["19",83.26],["20",85.43],["23",88.07],["25",84.91],["27",56.12],["41",88.37],["44",80.26],["47",84.03],["50",77.94],["52",78.83],["54",86.67],["63",80.32],["66",83.97],["68",90.58],["70",87.35],["73",85.5],["76",83.57],["81",76.72],["85",70.8],["86",80.39],["88",88.16],["91",56.3],["94",26.84],["95",60.14],["97",19.28],["99",43.69],["05",88.79],["08",87.49]],"2017":[["11",82.5],["13",80.57],["15",84.06],["17",89.23],["18",72.84],["19",83.59],["20",85.12],["23",83.74],["25",85.57],["27",58.15],["41",86.79],["44",77.59],["47",84.48],["50",74.88],["52",78.85],["54",82.66],["63",83.02],["66",86.2],["68",89.24],["70",86.94],["73",86.12],["76",87.83],["81",78.08],["85",73],["86",79.28],["88",91.29],["91",43.1],["94",26.24],["95",61.1],["97",24.99],["99",52.2],["05",86.01],["08",86.58]],"2018":[["11",8.22],["13",83.16],["15",83.9],["17",88.64],["18",73.09],["19",83.64],["20",80.91],["23",86.72],["25",85.77],["27",45.53],["41",82.61],["44",68.92],["47",83.55],["50",74.61],["52",73.26],["54",83.16],["63",85.02],["66",85.41],["68",88.6],["70",84.2],["73",85.8],["76",87.2],["81",70.93],["85",71.92],["86",78.12],["88",85.79],["91",51.38],["94",35.54],["95",59.62],["97",44.91],["99",42.56],["05",87.09],["08",87.29]],"2019":[["11",79.93],["13",81.62],["15",83.79],["17",90.86],["18",74.87],["19",81.66],["20",75.83],["23",80.57],["25",85.55],["27",49.81],["41",88.19],["44",66.49],["47",84.46],["50",70.97],["52",76.78],["54",79.94],["63",83.43],["66",85.05],["68",89.01],["70",85.43],["73",85.91],["76",85.47],["81",72.14],["85",77.27],["86",77.23],["88",81.9],["91",42.26],["94",22.3],["95",64.45],["97",24.46],["99",43],["05",86.75],["08",86.26]],"2020":[["11",78.35],["13",75.68],["15",80.41],["17",88.17],["18",64.43],["19",79.17],["20",74.21],["23",82.21],["25",83.07],["27",40.47],["41",84.5],["44",60.05],["47",79.99],["50",68.86],["52",79.05],["54",75.88],["63",81.72],["66",73.12],["68",81.43],["70",79.04],["73",78.97],["76",80.63],["81",68.83],["85",61.98],["86",71.62],["88",79.9],["91",38.66],["94",20.64],["95",54.26],["97",30.08],["99",41.46],["05",84.45],["08",82.9]],"2021":[["11",79.65],["13",82.01],["15",81.75],["17",87.42],["18",63.19],["19",77.09],["20",76.62],["23",83.51],["25",82.47],["27",42.15],["41",86.9],["44",61.96],["47",82.36],["50",66],["52",81.72],["54",76.34],["63",84.55],["66",73.39],["68",86.65],["70",86.12],["73",81.82],["76",78.97],["81",70.26],["85",71.52],["86",69.98],["88",90.01],["91",35.09],["94",25.84],["95",43.6],["97",24.88],["99",37.71],["05",85.47],["08",87.43]],"2022":[["11",81.88],["13",83.12],["15",82.97],["17",87.65],["18",69.37],["19",81.38],["20",81.6],["23",83.72],["25",82.66],["27",50.76],["41",84.85],["44",63.55],["47",82.09],["50",69.85],["52",82.99],["54",78.01],["63",77.1],["66",78.62],["68",86.96],["70",82.74],["73",82.68],["76",84.73],["81",71.46],["85",74],["86",76.06],["88",79.98],["91",35.52],["94",24.31],["95",55.28],["97",27.42],["99",31.82],["05",86.15],["08",89.1]],"2023":[["11",83.78],["13",83.2],["15",86.14],["17",86.34],["18",77.69],["19",83.5],["20",82.9],["23",83.1],["25",84.38],["27",54.51],["41",88.22],["44",67.95],["47",85.71],["50",72.61],["52",85.52],["54",80.58],["63",81.82],["66",72.95],["68",90.5],["70",84.64],["73",86.54],["76",86.25],["81",80.46],["85",77.16],["86",76.28],["88",83.36],["91",57.26],["94",62.69],["95",58.94],["97",27.17],["99",37.39],["05",87.55],["08",89.88]]}
1 change: 1 addition & 0 deletions aplicaciones/www/estaticos/datos/ya1-10-mun.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions aplicaciones/www/estaticos/datos/ya1-10-nal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ascendente":true,"estructura":"porcentaje","unidadMedida":100,"datos":{"2015":75.08,"2016":76.05,"2017":76.12,"2018":73.24,"2019":74.05,"2020":69.82,"2021":71.04,"2022":72.44,"2023":76.57},"datosMunicipio":true,"maxNal":76.57,"minNal":69.82,"maxDep":91.29,"minDep":8.22,"maxMun":166.666666666667,"minMun":0.0879507475813544}
17 changes: 17 additions & 0 deletions datosVisibles/ya1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,5 +205,22 @@ export const ya1: DatosYa = {
interpretacion:
'Un valor de 15 significa que existen 15 defunciones por cada 1000 nacidos vivos en un momento y territorios específicos.<br/><br/> Más Información: https://www.who.int/es/news-room/fact-sheets/detail/children-reducing-mortality',
},
{
nombre: 'Porcentaje de partos atendidos por personal calificado',
ruta: 'partos-calificado',
archivo: 'ya1-10',
hay_datos: true,
umbral: 95,
explicacion_umbral: '...',
explicacion: '....',
definicion: '...',
metodologia: '...',
unidad: '...',
fuente_numerador: '...',
fuente_denominador: '...',
desagregacion: 'Municipal',
contexto: '...',
interpretacion: '...',
},
],
};

0 comments on commit 5ebee87

Please sign in to comment.