Skip to content
Snippets Groups Projects
Select Git revision
  • es23-docentes-por-ente-federativo
  • teachers-ies
  • homologa protected
  • development protected
  • es23-superior-enrollment
  • instruction_level_fix2
  • enrollment_rate
  • master default protected
  • hotfix-enrollment-aggregate
  • instruction_level_fixes
  • docentes-ies-ente-federativo
  • receita-potencial
  • #974-receita-potencial
  • db-conn
  • years-of-study-mean
  • new-indicators
  • issue_935
  • instruction_number
  • issue_958
  • issue_953
  • v1.16.0
  • v1.15.1
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.14
  • v1.9.0
  • v1.8.3
  • v1.8.2
  • v1.8.1
  • v1.8.0
  • v1.7.0
  • v1.6.1
  • v1.6.0
  • v1.5.0
  • v1.4.2
  • v1.4.1
  • v1.4.0
  • v1.3.3
  • v1.3.2
40 results

stateName.js

Blame
  • stateName.js 2.14 KiB
    /*
    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 stateName(id) {
        switch (id) {
            case 11:
            return 'Rondônia';
            case 12:
            return 'Acre';
            case 13:
            return 'Amazonas';
            case 14:
            return 'Roraima';
            case 15:
            return 'Pará';
            case 16:
            return 'Amapá';
            case 17:
            return 'Tocantins';
            case 21:
            return 'Maranhão';
            case 22:
            return 'Piauí';
            case 23:
            return 'Ceará';
            case 24:
            return 'Rio Grande do Norte';
            case 25:
            return 'Paraíba';
            case 26:
            return 'Pernambuco';
            case 27:
            return 'Alagoas';
            case 28:
            return 'Sergipe';
            case 29:
            return 'Bahia';
            case 31:
            return 'Minas Gerais';
            case 32:
            return 'Espírito Santo';
            case 33:
            return 'Rio de Janeiro ';
            case 35:
            return 'São Paulo';
            case 41:
            return 'Paraná';
            case 42:
            return 'Santa Catarina';
            case 43:
            return 'Rio Grande do Sul';
            case 50:
            return 'Mato Grosso do Sul';
            case 51:
            return 'Mato Grosso';
            case 52:
            return 'Goiás';
            case 53:
            return 'Distrito Federal';
            case 99:
            return 'Exterior';
            default:
            return 'Não declarada';
        }
    };