diff --git a/src/libs/convert/academicLevel.js b/src/libs/convert/academicLevel.js new file mode 100644 index 0000000000000000000000000000000000000000..3f76bc115a7e7897ef7aea4967fa872d07409bf2 --- /dev/null +++ b/src/libs/convert/academicLevel.js @@ -0,0 +1,32 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function academicLevel(id) { + switch (id) { + case 1: + return 'Bacharelado'; + case 2: + return 'Licenciatura'; + case 3: + return 'Tecnológico'; + default: + return 'Não classificada'; + } +}; diff --git a/src/libs/convert/ethnicGroupIES.js b/src/libs/convert/ethnicGroupIES.js new file mode 100644 index 0000000000000000000000000000000000000000..a57150fcc30d5e46df45ba9c1cd7d97761fc612f --- /dev/null +++ b/src/libs/convert/ethnicGroupIES.js @@ -0,0 +1,38 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function ethnicGroupIES(id) { + switch (id) { + case 0: + return 'Aluno não quis declarar cor/raça'; + case 1: + return 'Branca'; + case 2: + return 'Preta'; + case 3: + return 'Parda'; + case 4: + return 'Amarela'; + case 5: + return 'IndÃgena'; + default: + return 'Não dispõe da informação (Não resposta)'; + } +}; diff --git a/src/libs/convert/ethnicGroupTeacherIES.js b/src/libs/convert/ethnicGroupTeacherIES.js new file mode 100644 index 0000000000000000000000000000000000000000..7db2936ccc04200a58a7680f32c4a0d2c3122aaa --- /dev/null +++ b/src/libs/convert/ethnicGroupTeacherIES.js @@ -0,0 +1,38 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function ethnicGroupTeacherIES(id) { + switch (id) { + case 0: + return 'Docente não quis declarar cor/raça'; + case 1: + return 'Branca'; + case 2: + return 'Preta'; + case 3: + return 'Parda'; + case 4: + return 'Amarela'; + case 5: + return 'IndÃgena'; + default: + return 'Não dispõe da informação (Não resposta)'; + } +}; diff --git a/src/libs/convert/genderIES.js b/src/libs/convert/genderIES.js new file mode 100644 index 0000000000000000000000000000000000000000..4ff855cdc3467d1516d6990f3fef5f859057caf3 --- /dev/null +++ b/src/libs/convert/genderIES.js @@ -0,0 +1,28 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function genderIES(id) { + switch(id) { + case 1: + return 'Feminino'; + case 2: + return 'Masculino'; + } +}; diff --git a/src/libs/convert/ocdeDetailed.js b/src/libs/convert/ocdeDetailed.js new file mode 100644 index 0000000000000000000000000000000000000000..e83dc4d933dc997e97c9ded6799bbc72f93ae376 --- /dev/null +++ b/src/libs/convert/ocdeDetailed.js @@ -0,0 +1,183 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ +module.exports = function ocdeDetailed(id) { + switch (id) { + case 142: + return 'Ciências da educação'; + case 144: + return 'Formação de professor da educação básica'; + case 145: + return 'Formação de professor de matérias especÃficas'; + case 146: + return 'Formação de professor de disciplinas profissionais'; + case 210: + return 'Artes (cursos gerais)'; + case 211: + return 'Belas artes'; + case 212: + return 'Música e artes cênicas'; + case 213: + return 'Técnicas audiovisuais e produção de mÃdia'; + case 214: + return 'Design e estilismo'; + case 215: + return 'Artesanato'; + case 220: + return 'Humanidades e letras (cursos gerais)'; + case 221: + return 'Religião e teologia'; + case 222: + return 'LÃnguas e culturas estrangeiras'; + case 223: + return 'LÃngua materna (vernácula)'; + case 225: + return 'História e arqueologia'; + case 226: + return 'Filosofia e ética'; + case 310: + return 'Ciências sociais e comportamentais (cursos gerais)'; + case 311: + return 'Psicologia'; + case 312: + return 'Sociologia e estudos culturais'; + case 313: + return 'Ciência polÃtica e educação cÃvica'; + case 314: + return 'Economia'; + case 321: + return 'Jornalismo e reportagem'; + case 322: + return 'Biblioteconomia, informação, arquivos'; + case 340: + return 'Comércio e administração (cursos gerais)'; + case 341: + return 'Vendas em atacado e varejo'; + case 342: + return 'Marketing e publicidade'; + case 343: + return 'Finanças, bancos, seguros'; + case 344: + return 'Contabilidade e tributação'; + case 345: + return 'Gerenciamento e administração'; + case 346: + return 'Secretariado e trabalhos de escritório'; + case 380: + return 'Direito'; + case 420: + return 'Ciências (cursos gerais)'; + case 421: + return 'Biologia e bioquÃmica'; + case 422: + return 'Ciências ambientais'; + case 440: + return 'Ciências fÃsicas (cursos gerais)'; + case 441: + return 'FÃsica'; + case 442: + return 'QuÃmica'; + case 443: + return 'Ciências da terra'; + case 461: + return 'Matemática'; + case 462: + return 'EstatÃstica'; + case 481: + return 'Ciência da computação'; + case 482: + return 'Uso do computador'; + case 483: + return 'Processamento da informação'; + case 520: + return 'Engenharia e profissões de engenharia (cursos gerais)'; + case 521: + return 'Engenharia mecânica e metalurgia (trabalhos com metais)'; + case 522: + return 'Eletricidade e energia'; + case 523: + return 'Eletrônica e automação'; + case 524: + return 'QuÃmica e engenharia de processos'; + case 525: + return 'VeÃculos a motor, construção naval e aeronáutica'; + case 540: + return 'Fabricação e processamento (cursos gerais)'; + case 541: + return 'Processamento de alimentos'; + case 542: + return 'Têxteis, roupas, calçados, couros'; + case 543: + return 'Materiais (madeira, papel, plástico, vidro)'; + case 544: + return 'Mineração e extração'; + case 581: + return 'Arquitetura e urbanismo'; + case 582: + return 'Engenharia civil e de construção'; + case 621: + return 'Produção agrÃcola e pecuária'; + case 622: + return 'Horticultura'; + case 623: + return 'Engenharia florestal - silvicultura'; + case 624: + return 'Recursos pesqueiros'; + case 641: + return 'Veterinária'; + case 720: + return 'Saúde (cursos gerais)'; + case 721: + return 'Medicina'; + case 723: + return 'Enfermagem e atenção primária (assistência básica)'; + case 724: + return 'Odontologia'; + case 725: + return 'Tecnologias de diagnóstico e tratamento médico'; + case 726: + return 'Terapia e reabilitação'; + case 727: + return 'Farmácia'; + case 762: + return 'Serviço social e orientação'; + case 811: + return 'Hotelaria, restaurantes e serviços de alimentação'; + case 812: + return 'Viagens, turismo e lazer'; + case 813: + return 'Esportes'; + case 814: + return 'Ciências domésticas'; + case 815: + return 'Serviços de beleza'; + case 840: + return 'Transportes e serviços (cursos gerais)'; + case 850: + return 'Proteção ambiental (cursos gerais)'; + case 861: + return 'Proteção de pessoas e de propriedades'; + case 862: + return 'Saúde e segurança do trabalho'; + case 863: + return 'Setor militar e de defesa'; + default: + return 'Não classificada'; + } +}; \ No newline at end of file diff --git a/src/libs/convert/ocdeGeral.js b/src/libs/convert/ocdeGeral.js new file mode 100644 index 0000000000000000000000000000000000000000..88cc0646f5bc04d2ad36c78ddc8ae3a71508d53e --- /dev/null +++ b/src/libs/convert/ocdeGeral.js @@ -0,0 +1,44 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function ocdeGeral(id) { + switch (id) { + case 0: + return 'Ãrea básica'; + case 1: + return 'Educação'; + case 2: + return 'Humanidades e artes'; + case 3: + return 'Ciências sociais, negócios e direitor'; + case 4: + return 'Ciências, matemática e computação'; + case 5: + return 'Engenharia, produção e construção'; + case 6: + return 'Agricultura e veterinária'; + case 7: + return 'Saúde e bem estar social'; + case 8: + return 'Serviços'; + default: + return 'Não classificada'; + } +}; diff --git a/src/libs/convert/ocdeSpecific.js b/src/libs/convert/ocdeSpecific.js new file mode 100644 index 0000000000000000000000000000000000000000..7b360d86eb3c2d769d99fb6025ccee3caf78b152 --- /dev/null +++ b/src/libs/convert/ocdeSpecific.js @@ -0,0 +1,70 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function ocdeSpecific(id) { + switch (id) { + case 1: + return 'Ãrea básica de cursos'; + case 14: + return 'Formação de professor e ciências da educação'; + case 21: + return 'Artes'; + case 22: + return 'Humanidades e letras'; + case 31: + return 'Ciências sociais e comportamentais'; + case 32: + return 'Jornalismo e informação'; + case 34: + return 'Comércio e administração'; + case 38: + return 'Direito'; + case 42: + return 'Ciências'; + case 44: + return 'Ciências fÃsicas'; + case 48: + return 'Computação'; + case 52: + return 'Engenharia e profissões correlatas'; + case 54: + return 'Produção e processamento'; + case 58: + return 'Arquitetura e construção'; + case 62: + return 'Agricultura, florestas e recursos pasqueiros'; + case 64: + return 'Veterinária'; + case 72: + return 'Saúde'; + case 76: + return 'Serviço social'; + case 81: + return 'Serviços pessoais'; + case 84: + return 'Serviços de transportes (cursos gerais)'; + case 85: + return 'Proteção ambiental'; + case 86: + return 'Serviços de segurança'; + default: + return 'Não classificada'; + } +}; diff --git a/src/libs/convert/schoolType.js b/src/libs/convert/schoolType.js new file mode 100644 index 0000000000000000000000000000000000000000..f485ecb9fabf74e860e34d1d082b0de1eacce36d --- /dev/null +++ b/src/libs/convert/schoolType.js @@ -0,0 +1,30 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function studentDeficiency(id) { + switch (id) { + case 1: + return 'Pública'; + case 2: + return 'Privada'; + default: + return 'Não classificado'; + } +}; diff --git a/src/libs/convert/studentDeficiency.js b/src/libs/convert/studentDeficiency.js new file mode 100644 index 0000000000000000000000000000000000000000..11c3c3408138773e8ae80107b26e947b2260ed7e --- /dev/null +++ b/src/libs/convert/studentDeficiency.js @@ -0,0 +1,30 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function studentDeficiency(id) { + switch (id) { + case 0: + return 'Não'; + case 1: + return 'Sim'; + default: + return 'Não classificado' + } +}; diff --git a/src/libs/convert/teacherSchooling.js b/src/libs/convert/teacherSchooling.js new file mode 100644 index 0000000000000000000000000000000000000000..fc3f153982498017a14745fa5b0403292658b3a9 --- /dev/null +++ b/src/libs/convert/teacherSchooling.js @@ -0,0 +1,34 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function teacherSchooling(id) { + switch (id) { + case 1: + return 'Sem graduação'; + case 2: + return 'graduação'; + case 3: + return 'Especialização'; + case 4: + return 'Mestrado'; + case 5: + return 'Doutorado'; + } +}; diff --git a/src/libs/convert/teacherSituation.js b/src/libs/convert/teacherSituation.js new file mode 100644 index 0000000000000000000000000000000000000000..ae77189bdf25b7117c7a0618ed9f8c8aaaa0a71c --- /dev/null +++ b/src/libs/convert/teacherSituation.js @@ -0,0 +1,36 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function teacherSituation(id) { + switch (id) { + case 1: + return 'Em exercÃcio'; + case 2: + return 'Afastado para qualificação'; + case 3: + return 'Afastado para exercÃcio em outros órgãos/entidades'; + case 4: + return 'Afastado por outros motivos'; + case 5: + return 'Afastado para tratamento de saúde'; + case 6: + return 'Falecido'; + } +}; diff --git a/src/libs/convert/upperEducationMod.js b/src/libs/convert/upperEducationMod.js new file mode 100644 index 0000000000000000000000000000000000000000..47fa9573cf6477f47f7ee435cbd733e9ce3e152b --- /dev/null +++ b/src/libs/convert/upperEducationMod.js @@ -0,0 +1,30 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function upperEducationMod(id) { + switch (id) { + case 1: + return 'Presencial'; + case 2: + return 'A Distância'; + default: + return 'Não classificada'; + } +}; diff --git a/src/libs/convert/upperTurn.js b/src/libs/convert/upperTurn.js new file mode 100644 index 0000000000000000000000000000000000000000..b5cac83f361bebe821ef9be7b4a442500bd43985 --- /dev/null +++ b/src/libs/convert/upperTurn.js @@ -0,0 +1,34 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function upperTurn(id) { + switch (id) { + case 1: + return 'Matutino'; + case 2: + return 'Vespertino'; + case 3: + return 'Noturno'; + case 4: + return 'Integral'; + default: + return 'Não aplicavel (Ead)'; + } +}; diff --git a/src/libs/convert/workRegime.js b/src/libs/convert/workRegime.js new file mode 100644 index 0000000000000000000000000000000000000000..6cff902a3cb65dee7e9726357e2ee426ac15e9b4 --- /dev/null +++ b/src/libs/convert/workRegime.js @@ -0,0 +1,32 @@ +/* +Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR + +This file is part of simcaq-node. + +simcaq-node is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +simcaq-node is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. +*/ + +module.exports = function workRegime(id) { + switch (id) { + case 1: + return 'Tempo Integral com dedicação exclusiva'; + case 2: + return 'Tempo Integral sem dedicação exclusiva'; + case 3: + return 'Tempo Parcial'; + case 4: + return 'Horista'; + } +};