Giter VIP home page Giter VIP logo

registro_visitas_tc's Introduction

Registro de visita del Tribunal Consitucional peruano

Este repositorio contiene las páginas HTML del registro de visitas. El objetivo es parsear todos los campos a un archivo JSON (de preferencia JSONLINES) para ser incorporados en http://manolo.rocks

Problemas:

  • Si bien el parse puede ser sencillo ya que cada registro está en filas de tablas HTML, el problema es la falta de consistencia entre la mayoría de páginas.
  • Un set de reglas para parsear ciertas páginas no necesariamente servirán para parsear otras.
  • Los patrones del registro se mantienen constantes en fechas cercanas entre sí. Pero pueden ser radicalmente diferentes en ciertas páginas para un mismo año, o un mismo mes.
  • Para asegurarse que todos los registros son parseados con un mínimo margen de error será necesario avanzar de a pocos hasta terminar de parsear todas las hojas HTML.

JSON

La idea es que se generen un archivo JSON con estos mismos campos:

{
    "time_start": "12:51",
    "office": "DGAAE - DESPACHO",
    "title": "Especialista I",
    "meeting_place": "",
    "id_document": "DNI",
    "id_number": "235868",
    "entity": "PARTICULAR",
    "reason": "REUNI\u00c3\u201cN DE TRABAJO",
    "host_name": "REGENTE OCMIN, EDWIN EDUARDO",
    "full_name": "SOTO FUENTES, NELSON",
    "date": "2014-07-08",
    "time_end": "16:32",
    "institution": "minem",
    "location": ""
}

registro_visitas_tc's People

Contributors

aniversarioperu avatar beathyate avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.