Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instalando pacotes necessários: | |
# install.packages("pdftools") | |
# install.packages("tidyverse") | |
# carregar pacotes | |
library(pdftools) | |
library(tidyverse) | |
library(stringr) | |
library(stringi) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bibliotecas necessárias: | |
import pdfminer | |
from pdfminer.high_level import extract_text | |
import re | |
import numpy as np | |
import pandas as pd | |
# Transformando a minha lei em uma STRING | |
lai = extract_text('lai.pdf') |