Git Product home page Git Product logo

informark's Introduction

Revista -> Objetivo -> Inserir na tabela todos processos encontrado no arquivo pdf

1 - Entrar no site http://revistas.inpi.gov.br/rpi

2 - Realizar o download da revista Ex 2423 em pdf que fica na coluna marcas.

Link para download: http://revistas.inpi.gov.br/pdf/Marcas2423.pdf

3 - Entrar no site: https://conversiontools.io/convert_pdf_to_txt/

4 - Converter o arquivo Ex: Marcas2423.pdf para Marcas2423.pdf.txt (renomear o arquivo para 2423.txt)

5 - No arquivo inserir_linhas.php na linha 7 modificar o nome do arquivo txt que será lido ex: 2423.txt

6 - Modificar os dados de conexão no arquivo functions.php

7 - Execute via terminal o comando: php inserir_linhas.php

A tabela ultima_revista_pdf_temp será removida.

A tabela ultima_revista_pdf_temp será criada.

Todas os processos encontrados no arquivo 2423.txt serão inseridas na tabela ultima_revista_pdf_temp.

/* VERIFICAR A QUANTIDADE DE PROCESSOS REPETIDOS NA REVISTA */

SELECT rpi, processo, COUNT(DISTINCT processo) AS qtdProcessos FROM ultima_revista_pdf_temp GROUP BY processo HAVING COUNT(processo) > 0 ORDER BY qtdProcessos DESC ;

informark's People

Contributors

felipefariasdev avatar

Watchers

 avatar  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.