Skip to content

Instantly share code, notes, and snippets.

View voigtjessica's full-sized avatar

Jessica Voigt voigtjessica

View GitHub Profile
@voigtjessica
voigtjessica / stadt_nrw.ipynb
Created January 12, 2022 17:16
Raspagem munic NRW
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.
@voigtjessica
voigtjessica / vergabe_nrw.ipynb
Created April 23, 2021 15:13
Getting data from E-vergabe NRW API
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Instalando pacotes necessários:
# install.packages("pdftools")
# install.packages("tidyverse")
# carregar pacotes
library(pdftools)
library(tidyverse)
library(stringr)
library(stringi)
# 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')