Skip to content

Commit

Permalink
🚧 Datos para juego 5.1 (estructura por categorías)
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Oct 22, 2024
1 parent 5eb91cf commit 0cfa844
Show file tree
Hide file tree
Showing 8 changed files with 213 additions and 1 deletion.
5 changes: 5 additions & 0 deletions aplicaciones/procesador/fuente/aplicacion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import VariableSingular from './modulos/VariableSingular';
import { readdir, rm } from 'fs/promises';
import { rutaEstaticosDatos, rutaEstaticosDescarga } from './utilidades/constantes';
import calcularPesos from './datosDescarga';
import JuegoCategorias from './modulos/JuegoCategorias';

async function inicio() {
await vaciarProcesados();
Expand Down Expand Up @@ -100,6 +101,10 @@ async function procesarDatos() {
const ya44 = new VariableSingular('concentracion', false, 'escala');
await ya44.procesar('4.4: calidad aire', 'YA_4.4', 'Sheet1', 'ya4-4');

/** 5 */
const ya51 = new JuegoCategorias('porcentaje', true, 'porcentaje');
ya51.procesar('5.1 juego', 'YA_5.1', 'Sheet 1', 'ya5-1');

/** 7 */
const ya71 = new VariableSingular('gini', false, 'coeficiente', 1.0);
await ya71.procesar('7.1: GINI', 'YA_7.1', 'Sheet1', 'ya7-1');
Expand Down
177 changes: 177 additions & 0 deletions aplicaciones/procesador/fuente/modulos/JuegoCategorias.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
import { limpiarDepartamento, limpiarMunicipio } from '../limpieza/lugar';
import type {
Departamento,
Errata,
RespuestaCategorias,
RespuestaPorcentaje,
VariableValorSingular,
VariablesSingulares,
} from '@/tipos';
import { esNumero, guardarJSON, redondearDecimal } from '../utilidades/ayudas';
import maquinaXlsx from '../utilidades/maquinaXlsx';
import { DatosIndicadorNal, TiposEstructura } from '../../../../tipos/compartidos';

export default class {
datosNacionales: DatosIndicadorNal;
datosDepartamentos: RespuestaCategorias;
datosMunicipios: RespuestaPorcentaje;
errata: { fila: number; error: string }[];
nombreVariableValor: VariableValorSingular;
estructura: TiposEstructura;
exportarMunicipios: boolean;

constructor(
nombreVariable: VariableValorSingular,
ascendente: boolean,
estructura: TiposEstructura,
unidadMedida = 100
) {
this.datosNacionales = {
ascendente,
estructura,
unidadMedida,
datos: {},
categorias: {},
datosMunicipio: true,
maxNal: 0,
minNal: Infinity,
maxDep: 0,
minDep: Infinity,
maxMun: 0,
minMun: Infinity,
};
this.errata = [];
this.datosMunicipios = {};
this.datosDepartamentos = {};
this.nombreVariableValor = nombreVariable;
this.estructura = estructura;
this.exportarMunicipios = false;
}

async procesar(nombreReferencia: string, nombreArchivo: string, hoja: string, nombreParaArchivo: string) {
await maquinaXlsx(nombreReferencia, nombreArchivo, hoja, this.procesarDepartamentos);
this.procesarNacional();

if (!this.exportarMunicipios) this.datosNacionales.datosMunicipio = false;
guardarJSON(this.datosMunicipios, `${nombreParaArchivo}-mun`);
guardarJSON(this.datosDepartamentos, `${nombreParaArchivo}-dep`);
guardarJSON(this.datosNacionales, `${nombreParaArchivo}-nal`);

if (this.errata.length) guardarJSON(this.errata, `Errata ${nombreParaArchivo}`);
}

validarValor(valor: number, numeroFila: number) {
if (valor && isNaN(valor)) {
this.errata.push({ fila: numeroFila, error: `el valor no es un número: ${valor}` });
return false;
}

return true;
}

procesarDepartamentos = (fila: VariablesSingulares, numeroFila: number) => {
const valor = fila[this.nombreVariableValor];
const tieneValor = this.validarValor(valor, numeroFila);
const departamento = limpiarDepartamento(+fila.coddepto);

if (departamento.hasOwnProperty('error')) {
this.errata.push({ fila: numeroFila, error: (departamento as Errata).mensaje });
return;
}

if (!tieneValor) {
this.errata.push({ fila: numeroFila, error: `La fila no tiene valor.` });
return;
}

if (!fila.P51 || !esNumero(`${fila.P51}`)) {
this.errata.push({
fila: numeroFila,
error: `No hay categoria P51 para el departamento ${fila.coddepto} en el año ${fila.anno}`,
});
return;
}

// Iniciar entradas para el año si aún no existe, empieza con una lista vacía.
if (!this.datosDepartamentos[fila.anno]) {
this.datosDepartamentos[fila.anno] = [];
}

const valorLimpio = redondearDecimal(valor, 1, 2);
const codigoDep = (departamento as Departamento)[0];
const existe = this.datosDepartamentos[fila.anno].find((lugar) => lugar[0] === codigoDep);
const categoria = `c${fila.P51}`;
const entrada: [lugar: string, { [categoria: string]: number }] = [codigoDep, {}];
entrada[1][categoria] = valorLimpio;

// Si no existe el lugar dentro de las entradas del año, crearlo.
if (!existe) {
this.datosDepartamentos[fila.anno].push(entrada);
} else {
existe[1][categoria] = valorLimpio;
}
};

procesarNacional() {
for (const año in this.datosDepartamentos) {
const conteos: { [categoria: string]: number } = {};
const datosAño = this.datosDepartamentos[año];
const suma = datosAño.reduce(
(acumulado, valorActual) => {
for (const categoria in valorActual[1]) {
if (!conteos[categoria]) {
conteos[categoria] = 0;
}

if (!acumulado[1][categoria]) {
acumulado[1][categoria] = 0;
}

acumulado[1][categoria] += valorActual[1][categoria];
conteos[categoria]++;
}

return acumulado;
},
['', {}]
);

const agregadoAño: { [categoria: string]: number } = {};

for (const categoria in suma[1]) {
agregadoAño[categoria] = redondearDecimal(suma[1][categoria] / conteos[categoria], 1, 2);
}

if (!this.datosNacionales.categorias) return;

this.datosNacionales.categorias[año] = agregadoAño;

// if (this.datosNacionales.datos[año]) {
// this.revisarMinMax(this.datosNacionales.datos[año] as number, 'maxNal', 'minNal');
// // Ya existen datos a nivel nacional para este año
// } else {
// // No hay datos nacionales, sacarlos a partir de los datos departamentales.
// const datosAño = this.datosDepartamentos[año];
// const suma = datosAño.reduce((depAnterior, valorActual) => ['', depAnterior[1] + valorActual[1]], ['', 0]);
// if (this.estructura === 'conteo') {
// this.revisarMinMax(suma[1], 'maxNal', 'minNal');
// this.datosNacionales.datos[año] = suma[1];
// } else {
// const porcentaje = redondearDecimal(suma[1] / datosAño.length, 1, 2);
// this.revisarMinMax(porcentaje, 'maxNal', 'minNal');
// this.datosNacionales.datos[año] = porcentaje;
// }
// }
}
}

revisarMinMax(valor: number, llaveMax: 'maxNal' | 'maxDep' | 'maxMun', llaveMin: 'minNal' | 'minDep' | 'minMun') {
if (this.datosNacionales[llaveMax] < valor) {
this.datosNacionales[llaveMax] = valor;
}

if (this.datosNacionales[llaveMin] > valor) {
this.datosNacionales[llaveMin] = valor;
}
}
}
8 changes: 7 additions & 1 deletion aplicaciones/procesador/fuente/tipos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ export type RespuestaPorcentaje = {
[año: string]: [lugar: string, porcentaje: number, variable2?: number][];
};

export type RespuestaCategorias = {
[año: string]: [lugar: string, valor: { [categoria: string]: number }][];
};

export type RespuestaNumDen = {
[año: string]: [lugar: string, numerador: number, denominador: number][];
};
Expand Down Expand Up @@ -118,7 +122,9 @@ export type VariableValorSingular =
| 'tasa_mortalidad_neonatal'
| 'tasa_mortalidad_menores_1_año'
| 'tasa_mortalidad_desnutricion_5_años'
| 'porcentaje_marco_integral';
| 'porcentaje_marco_integral'
| 'porcentaje'
| 'P51';

export type VariablesSingulares = {
[llave in VariableValorSingular]: number;
Expand Down
1 change: 1 addition & 0 deletions aplicaciones/www/estaticos/datos/ya5-1-dep.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"2019":[["05",{"c1":36.67,"c2":52.91,"c3":2.31,"c4":0.86,"c5":5.94,"c6":0.77,"c8":0.54}],["08",{"c1":48.52,"c2":41.19,"c3":2.14,"c4":0.96,"c5":7.01,"c6":0.17}],["11",{"c1":45.63,"c2":31.84,"c3":2.45,"c4":3.34,"c5":15.99,"c6":0.2,"c8":0.55}],["13",{"c1":44.26,"c2":46.98,"c3":1.37,"c4":0.73,"c5":6.17,"c8":0.5}],["15",{"c1":38.17,"c2":47.77,"c3":5.14,"c4":0.85,"c5":6.61,"c6":1.2,"c8":0.26}],["17",{"c1":34.63,"c2":53.1,"c3":1.82,"c4":0.87,"c5":9.19,"c6":0.39}],["18",{"c1":19.26,"c2":68.12,"c3":4,"c4":1.43,"c5":6.5,"c6":0.04,"c8":0.65}],["19",{"c1":29.02,"c2":58.98,"c3":4.07,"c4":0.44,"c5":6.98,"c6":0.06,"c8":0.45}],["20",{"c1":38.69,"c2":52.77,"c3":2.64,"c4":0.39,"c5":5.5}],["23",{"c1":46.48,"c2":44.85,"c3":1.79,"c4":1.23,"c5":5.21,"c6":0.19,"c8":0.25}],["25",{"c1":26.89,"c2":52.96,"c3":4.19,"c4":0.63,"c5":14.71,"c6":0.31,"c8":0.31}],["27",{"c1":31.24,"c2":60.4,"c3":3.89,"c4":0.28,"c5":3.88,"c6":0.16,"c8":0.15}],["41",{"c1":31.38,"c2":54.34,"c3":4.31,"c4":0.69,"c5":8.93,"c6":0.35}],["44",{"c1":47.02,"c2":46.21,"c3":1.52,"c4":0.63,"c5":4.05,"c6":0.56}],["47",{"c1":41.92,"c2":47.3,"c3":4.44,"c4":1.16,"c5":4.75,"c8":0.42}],["50",{"c1":25.28,"c2":57.41,"c3":4.69,"c4":1.64,"c5":9.84,"c6":0.82,"c8":0.33}],["52",{"c1":35.56,"c2":53.3,"c3":4.36,"c4":0.17,"c5":6.6}],["54",{"c1":23.81,"c2":62.51,"c3":2.29,"c4":0.38,"c5":10.69,"c8":0.33}],["63",{"c1":29.48,"c2":56.37,"c3":2.15,"c4":1.19,"c5":9.75,"c8":1.06}],["66",{"c1":24.63,"c2":57.31,"c3":3.21,"c4":1.53,"c5":12.5,"c6":0.27,"c8":0.55}],["68",{"c1":27.95,"c2":54.01,"c3":4.33,"c4":1.34,"c5":11.39,"c6":0.15,"c8":0.82}],["70",{"c1":45.52,"c2":48.93,"c3":0.71,"c4":0.81,"c5":3.7,"c6":0.32}],["73",{"c1":22,"c2":59.52,"c3":4.7,"c4":0.49,"c5":12.66,"c6":0.15,"c8":0.47}],["76",{"c1":32.15,"c2":54.31,"c3":1.41,"c4":0.97,"c5":11.04,"c6":0.08,"c8":0.05}],["81",{"c1":11.36,"c2":77.72,"c3":4.37,"c4":1.59,"c5":4.88,"c8":0.08}],["85",{"c1":12.62,"c2":69.97,"c3":4.51,"c4":1.06,"c5":11.33,"c6":0.19,"c8":0.31}],["86",{"c1":19.3,"c2":63.55,"c3":7.2,"c4":0.61,"c5":8.07,"c6":0.29,"c8":0.97}],["88",{"c1":49.32,"c2":28.22,"c3":1.17,"c4":3.96,"c5":16.83,"c6":0.5}],["91",{"c1":18.42,"c2":66.59,"c3":9.88,"c4":1.03,"c5":3.7,"c6":0.39}],["94",{"c1":14.1,"c2":70.23,"c3":11,"c4":0.85,"c5":3.83}],["95",{"c1":14.92,"c2":69.25,"c3":5.12,"c4":1.37,"c5":8.89,"c6":0.31,"c8":0.15}],["97",{"c1":24.24,"c2":67.59,"c3":4.98,"c4":0.46,"c5":1.75,"c8":0.99}],["99",{"c1":7.47,"c2":86.31,"c3":3.27,"c4":0.32,"c5":2.38,"c6":0.25}]],"2020":[["05",{"c1":26.55,"c2":59.44,"c3":4.22,"c4":1.1,"c5":7.53,"c6":0.56,"c8":0.59}],["08",{"c1":27.45,"c2":62.84,"c3":0.63,"c4":1.48,"c5":7.45,"c6":0.16}],["11",{"c1":30.79,"c2":49.18,"c3":2.29,"c4":2.4,"c5":14.34,"c6":0.35,"c8":0.65}],["13",{"c1":30.97,"c2":58.13,"c3":2.87,"c4":0.86,"c5":6.95,"c6":0.04,"c8":0.17}],["15",{"c1":14.82,"c2":70.89,"c3":2.82,"c4":0.38,"c5":10.55,"c6":0.39,"c8":0.16}],["17",{"c1":27.78,"c2":57.54,"c3":4.21,"c5":9.8,"c8":0.67}],["18",{"c1":9.82,"c2":80.24,"c3":2.77,"c4":0.55,"c5":6.21,"c6":0.41}],["19",{"c1":23.29,"c2":65.2,"c3":3.27,"c4":0.49,"c5":6.98,"c6":0.48,"c8":0.3}],["20",{"c1":23.55,"c2":67,"c3":1.03,"c4":1.09,"c5":5.58,"c6":1.05,"c8":0.71}],["23",{"c1":37.85,"c2":53.93,"c3":1.87,"c4":0.86,"c5":4.99,"c6":0.34,"c8":0.16}],["25",{"c1":11.16,"c2":68.7,"c3":2.78,"c4":1.35,"c5":12.46,"c6":2.12,"c8":1.43}],["27",{"c1":28.74,"c2":61.77,"c3":3.17,"c4":0.53,"c5":5.23,"c6":0.45,"c8":0.1}],["41",{"c1":21.31,"c2":65.68,"c3":3.46,"c4":0.45,"c5":8.88,"c8":0.22}],["44",{"c1":43.26,"c2":48.07,"c3":3.05,"c4":0.48,"c5":4.8,"c6":0.2,"c8":0.14}],["47",{"c1":35.75,"c2":54.19,"c3":1.78,"c4":0.54,"c5":6.06,"c8":1.68}],["50",{"c1":13.66,"c2":69.99,"c3":4.39,"c4":0.75,"c5":9.98,"c6":1.15,"c8":0.08}],["52",{"c1":21.22,"c2":68.65,"c3":1.74,"c4":0.42,"c5":7.73,"c6":0.25}],["54",{"c1":16.24,"c2":68,"c3":5.45,"c4":1.71,"c5":7,"c6":0.76,"c8":0.84}],["63",{"c1":20.45,"c2":64.7,"c3":1.5,"c4":1.4,"c5":11.95}],["66",{"c1":18.48,"c2":58.96,"c3":4.92,"c4":2.49,"c5":14.83,"c6":0.21,"c8":0.11}],["68",{"c1":7.26,"c2":74.17,"c3":1.64,"c4":2.66,"c5":13.8,"c6":0.29,"c8":0.18}],["70",{"c1":36.55,"c2":57.56,"c3":0.74,"c4":0.91,"c5":4.25}],["73",{"c1":15.38,"c2":67.79,"c3":2.07,"c4":0.76,"c5":13.53,"c6":0.28,"c8":0.19}],["76",{"c1":23.21,"c2":58.38,"c3":1.04,"c4":0.97,"c5":14.83,"c6":0.98,"c8":0.6}],["81",{"c1":7.13,"c2":81.45,"c3":3.12,"c4":0.94,"c5":6.69,"c6":0.67}],["85",{"c1":5.05,"c2":73.53,"c3":7.64,"c4":2.59,"c5":10.68,"c6":0.51}],["86",{"c1":11.48,"c2":75.54,"c3":3.76,"c4":1.05,"c5":6.92,"c6":0.42,"c8":0.83}],["88",{"c1":12.3,"c2":68.48,"c3":3.85,"c4":1.7,"c5":13.19,"c6":0.48}],["91",{"c1":9.83,"c2":78.27,"c3":4.82,"c4":2.39,"c5":3.75,"c6":0.53,"c8":0.4}],["94",{"c1":5.56,"c2":84.59,"c3":4.74,"c4":0.63,"c5":3.59,"c6":0.89}],["95",{"c1":5.63,"c2":74.85,"c3":7.8,"c4":1.65,"c5":8.91,"c6":0.58,"c8":0.57}],["97",{"c1":18.34,"c2":73.26,"c3":4.21,"c4":1.49,"c5":1.36,"c6":0.04,"c8":1.3}],["99",{"c1":2.1,"c2":82.04,"c3":6.33,"c4":1.12,"c5":6.41,"c6":1.86,"c8":0.14}]],"2021":[["05",{"c1":27.67,"c2":55.04,"c3":3.05,"c4":2.12,"c5":10.57,"c6":1.49,"c8":0.06}],["08",{"c1":40.83,"c2":47.97,"c3":0.7,"c4":1.08,"c5":8.64,"c6":0.5,"c8":0.29}],["11",{"c1":32.69,"c2":49.23,"c3":1.81,"c4":1.63,"c5":14.23,"c8":0.42}],["13",{"c1":26.6,"c2":61.86,"c3":0.96,"c4":0.97,"c5":8.37,"c6":1.13,"c8":0.1}],["15",{"c1":23.83,"c2":62.55,"c3":3.07,"c4":1.46,"c5":8.6,"c6":0.48}],["17",{"c1":31.48,"c2":52.96,"c3":2.85,"c4":0.21,"c5":12.08,"c8":0.42}],["18",{"c1":17.48,"c2":67.85,"c3":3.83,"c4":1.16,"c5":9.51,"c6":0.16}],["19",{"c1":13.58,"c2":75.63,"c3":2.59,"c4":0.42,"c5":7.39,"c6":0.4}],["20",{"c1":27.91,"c2":59.6,"c3":2.56,"c4":2.57,"c5":6.86,"c6":0.5}],["23",{"c1":24.14,"c2":66.21,"c3":2.55,"c4":0.85,"c5":6.24}],["25",{"c1":19.24,"c2":60.26,"c3":2.88,"c4":0.84,"c5":14.76,"c6":0.1,"c8":1.91}],["27",{"c1":22.31,"c2":66.68,"c3":4.36,"c4":1.98,"c5":4.52,"c6":0.14}],["41",{"c1":21.35,"c2":60.8,"c3":4.45,"c4":1.63,"c5":11.16,"c6":0.61}],["44",{"c1":38.03,"c2":52.45,"c3":2.19,"c4":2.05,"c5":5.03,"c6":0.2,"c8":0.05}],["47",{"c1":22.75,"c2":60.35,"c3":3.53,"c4":0.56,"c5":12.17,"c6":0.64}],["50",{"c1":15.04,"c2":63.24,"c3":3.33,"c4":2.58,"c5":14.59,"c6":1.11,"c8":0.11}],["52",{"c1":25.23,"c2":60.53,"c3":3.98,"c4":0.57,"c5":8.99,"c6":0.22,"c8":0.48}],["54",{"c1":12.91,"c2":68.77,"c3":2.6,"c4":2.02,"c5":12.87,"c6":0.6,"c8":0.23}],["63",{"c1":18.42,"c2":57.06,"c3":2.36,"c4":0.74,"c5":18.79,"c6":2.02,"c8":0.61}],["66",{"c1":26.24,"c2":59.09,"c3":1.26,"c4":1.01,"c5":10.43,"c6":0.84,"c8":1.14}],["68",{"c1":16.09,"c2":64.89,"c3":3.41,"c4":1.04,"c5":13.19,"c6":1.38}],["70",{"c1":29.14,"c2":62.44,"c3":1.51,"c4":0.62,"c5":6.29}],["73",{"c1":17.65,"c2":67.15,"c3":4.02,"c4":1.43,"c5":9.23,"c6":0.49,"c8":0.03}],["76",{"c1":31.66,"c2":52.11,"c3":1.6,"c4":1.05,"c5":12.72,"c6":0.4,"c8":0.47}],["81",{"c1":6.21,"c2":78.17,"c3":4.27,"c4":1.26,"c5":8.85,"c6":1.23}],["85",{"c1":11.26,"c2":69.44,"c3":5.65,"c4":2.49,"c5":10.46,"c6":0.71}],["86",{"c1":12.65,"c2":73.7,"c3":3.87,"c4":1.56,"c5":8.21}],["88",{"c1":22.09,"c2":47.03,"c3":0.73,"c4":1.15,"c5":27.48,"c8":1.52}],["91",{"c1":16.96,"c2":71.93,"c3":1.9,"c4":0.29,"c5":8.19,"c6":0.19,"c8":0.54}],["94",{"c1":14.41,"c2":73.67,"c3":5.4,"c4":1.24,"c5":4.69,"c6":0.58}],["95",{"c1":14.06,"c2":65.5,"c3":6.3,"c4":2.05,"c5":11.39,"c6":0.49,"c8":0.21}],["97",{"c1":13.52,"c2":77.4,"c3":4,"c4":1.98,"c5":2.77,"c6":0.09,"c8":0.24}],["99",{"c1":2.78,"c2":78.67,"c3":7.69,"c4":0.78,"c5":6.19,"c6":3.47,"c8":0.43}]],"2022":[["05",{"c1":29.28,"c2":53.39,"c3":3.95,"c4":0.46,"c5":12.7,"c8":0.21}],["08",{"c1":42.85,"c2":46.82,"c3":2.26,"c4":3.07,"c5":4.63,"c6":0.02,"c8":0.34}],["11",{"c1":40.51,"c2":40.2,"c3":2.31,"c4":1.91,"c5":14.28,"c6":0.79,"c8":0.01}],["13",{"c1":40.38,"c2":50.7,"c3":2.11,"c4":0.49,"c5":6.14,"c6":0.19}],["15",{"c1":34.22,"c2":54.9,"c3":2.66,"c4":0.18,"c5":8.05}],["17",{"c1":36.02,"c2":55.63,"c3":0.7,"c4":0.21,"c5":7.44}],["18",{"c1":23.62,"c2":64.71,"c3":3.16,"c4":0.03,"c5":8.08,"c8":0.41}],["19",{"c1":26.84,"c2":60.79,"c3":3.43,"c4":0.95,"c5":7.57,"c6":0.08,"c8":0.34}],["20",{"c1":35.48,"c2":56.8,"c3":3.14,"c4":0.34,"c5":4.1,"c6":0.06,"c8":0.06}],["23",{"c1":40.34,"c2":53.31,"c3":2.82,"c4":0.39,"c5":2.84,"c6":0.24,"c8":0.07}],["25",{"c1":22.26,"c2":51.06,"c3":3.36,"c4":2.84,"c5":18.77,"c6":1.16,"c8":0.54}],["27",{"c1":32.16,"c2":58.91,"c3":3.04,"c4":0.27,"c5":5.26,"c6":0.36}],["41",{"c1":27.54,"c2":60.29,"c3":2.07,"c4":1.19,"c5":8.5,"c6":0.29,"c8":0.13}],["44",{"c1":48.86,"c2":43.8,"c3":1.26,"c4":0.83,"c5":5.01,"c6":0.25}],["47",{"c1":32.53,"c2":60.73,"c3":0.59,"c4":1.07,"c5":4.55,"c6":0.17,"c8":0.37}],["50",{"c1":25.07,"c2":60.85,"c3":2.65,"c4":1.07,"c5":9.37,"c6":0.61,"c8":0.38}],["52",{"c1":34.68,"c2":56.23,"c3":1.64,"c4":0.39,"c5":6.82,"c6":0.24}],["54",{"c1":18.77,"c2":60.96,"c3":3.15,"c4":1.49,"c5":14.43,"c6":0.24,"c8":0.96}],["63",{"c1":25.46,"c2":61.44,"c3":1.84,"c4":1.74,"c5":8.38,"c6":1.13}],["66",{"c1":26.23,"c2":59.24,"c3":1.75,"c4":1.69,"c5":10.29,"c6":0.8}],["68",{"c1":24.55,"c2":51.37,"c3":4.14,"c4":2.17,"c5":16.66,"c6":0.94,"c8":0.17}],["70",{"c1":42.64,"c2":50.34,"c3":0.53,"c4":0.36,"c5":5.93,"c8":0.19}],["73",{"c1":24.33,"c2":62.65,"c3":3.45,"c4":0.66,"c5":8.32,"c6":0.32,"c8":0.27}],["76",{"c1":38.21,"c2":46.97,"c3":1.27,"c4":0.48,"c5":12.75,"c6":0.05,"c7":0.29}],["81",{"c1":15.32,"c2":73.74,"c3":3.91,"c4":0.5,"c5":5.85,"c8":0.68}],["85",{"c1":26.3,"c2":58.6,"c3":6.83,"c4":0.74,"c5":7.31,"c6":0.22}],["86",{"c1":16.95,"c2":68.63,"c3":5.99,"c4":0.93,"c5":7.37,"c8":0.13}],["88",{"c1":33.7,"c2":41.03,"c3":1.67,"c4":0.39,"c5":22.49,"c6":0.73}],["91",{"c1":19.33,"c2":67.45,"c3":4.99,"c4":0.25,"c5":5.21,"c6":0.16,"c8":2.6}],["94",{"c1":9.06,"c2":78.88,"c3":3.28,"c4":1.43,"c5":6.83,"c6":0.53}],["95",{"c1":13.77,"c2":69.75,"c3":7.25,"c4":2.29,"c5":6.8,"c8":0.14}],["97",{"c1":12.51,"c2":77.76,"c3":4.49,"c4":0.27,"c5":2.82,"c6":0.09,"c8":2.05}],["99",{"c1":5.24,"c2":88.88,"c3":2.38,"c4":0.34,"c5":2.65,"c6":0.28,"c8":0.22}]],"2023":[["05",{"c1":32.81,"c2":49.37,"c3":1.01,"c4":1.41,"c5":15.24,"c8":0.17}],["08",{"c1":50.54,"c2":38.61,"c3":0.3,"c4":1.25,"c5":9.3}],["11",{"c1":51.65,"c2":35.54,"c3":1.1,"c4":1.72,"c5":9.39,"c6":0.59,"c8":0.01}],["13",{"c1":44.8,"c2":46.29,"c3":1.83,"c4":0.88,"c5":6.13,"c6":0.06}],["15",{"c1":30.39,"c2":57.78,"c3":3.06,"c4":0.07,"c5":8.69}],["17",{"c1":37.17,"c2":51.53,"c3":1.56,"c5":9.74}],["18",{"c1":18.02,"c2":68.43,"c3":2.05,"c4":0.99,"c5":9.43,"c6":0.98,"c8":0.1}],["19",{"c1":28.85,"c2":58.51,"c3":1.77,"c4":0.41,"c5":9.76,"c6":0.52,"c8":0.17}],["20",{"c1":40.74,"c2":51.26,"c3":1.33,"c4":1.03,"c5":5.51,"c6":0.12}],["23",{"c1":44.32,"c2":50.6,"c3":0.65,"c4":0.63,"c5":3.79}],["25",{"c1":32.05,"c2":51.35,"c3":0.8,"c4":0.9,"c5":14.28,"c6":0.26,"c8":0.35}],["27",{"c1":30.29,"c2":61.2,"c3":1.67,"c5":6.16,"c6":0.69}],["41",{"c1":28.97,"c2":59.63,"c3":2.38,"c4":0.6,"c5":7.83,"c6":0.59}],["44",{"c1":50.17,"c2":45.19,"c3":0.73,"c4":0.31,"c5":3.41,"c6":0.19}],["47",{"c1":39.18,"c2":51.31,"c3":1.04,"c4":0.67,"c5":7.15,"c6":0.65}],["50",{"c1":18.16,"c2":62.5,"c3":3.62,"c4":4.21,"c5":10.5,"c6":0.25,"c8":0.76}],["52",{"c1":33.34,"c2":59.13,"c3":1.68,"c4":0.06,"c5":5.62,"c6":0.17}],["54",{"c1":22.32,"c2":65.37,"c3":1.49,"c4":1.67,"c5":7.83,"c6":1.32}],["63",{"c1":33.42,"c2":46.21,"c3":1.24,"c4":2.65,"c5":15.81,"c6":0.67}],["66",{"c1":30.08,"c2":55.42,"c3":0.84,"c4":0.15,"c5":12.78,"c8":0.73}],["68",{"c1":22.16,"c2":59.31,"c3":2.01,"c4":1.71,"c5":14.39,"c6":0.29,"c8":0.12}],["70",{"c1":50.26,"c2":42.04,"c3":1.57,"c4":0.44,"c5":4.73,"c8":0.96}],["73",{"c1":24.24,"c2":64.83,"c3":1.87,"c5":8.72,"c6":0.35}],["76",{"c1":30.89,"c2":48.7,"c3":3.27,"c4":0.01,"c5":17.1,"c8":0.03}],["81",{"c1":16.06,"c2":70.1,"c3":3.91,"c4":0.73,"c5":8.99,"c8":0.21}],["85",{"c1":19.89,"c2":62.31,"c3":5.86,"c4":2.56,"c5":9.18,"c6":0.2}],["86",{"c1":12.42,"c2":77.25,"c3":3.49,"c4":0.82,"c5":6.02}],["88",{"c1":53.7,"c2":29.69,"c5":16.07,"c6":0.54}],["91",{"c1":28.54,"c2":52.04,"c3":5.17,"c4":0.89,"c5":8.63,"c6":1,"c8":3.72}],["94",{"c1":20.32,"c2":67.33,"c3":1.97,"c4":0.67,"c5":9.11,"c6":0.6}],["95",{"c1":15.11,"c2":73.06,"c3":2.75,"c4":1.48,"c5":6.6,"c6":0.53,"c8":0.47}],["97",{"c1":15.59,"c2":78.09,"c3":2.85,"c4":0.41,"c5":2.55,"c6":0.33,"c8":0.19}],["99",{"c1":4.07,"c2":90.12,"c3":1.02,"c4":0.58,"c5":3.82,"c6":0.16,"c8":0.24}]]}
1 change: 1 addition & 0 deletions aplicaciones/www/estaticos/datos/ya5-1-mun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading

0 comments on commit 0cfa844

Please sign in to comment.