Skip to content

Instantly share code, notes, and snippets.

@jjesusfilho
Last active June 25, 2017 03:21
Show Gist options
  • Save jjesusfilho/e6a5387f8b34a2819eb3f4db8dfa868a to your computer and use it in GitHub Desktop.
Save jjesusfilho/e6a5387f8b34a2819eb3f4db8dfa868a to your computer and use it in GitHub Desktop.
Inteiro teor do acórdão do TRT4
## Essas bibliotecas não precisam ser carregadas, mas devem estar instaladas.
library(purrr)
library(httr)
library(boilerpipeR)
trt4_inteiro_teor<-function(url){
url %>% purrr::map_chr(function(x){
x %>%
httr::GET() %>%
httr::content("text") %>%
boilerpipeR::DefaultExtractor()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment