Description Usage Arguments Value About lawsuits Implemented TJs
This function downloads lawsuits as HTMLs. Given a lawsuit ID, and the path to a directory it will collect the lawsuit, and save it to the provided directory.
1  | download_cposg(id, path = ".")
 | 
id | 
 A character vector of one or more lawsuit IDs (only works with TJSP for now)  | 
path | 
 Path to the directory where the lawsuit should be saved  | 
A character vector with the path to the downloaded lawsuit
The lawsuits contemplated by this funtion have to be filed in a
Brazilian Tribunal de Justica (Justice Court). download_cposg()
finds the lawsuit in its state's online Sistema de Automacao de Justica
(Justice Automation System), solves the captcha withholding the
information, and collects the HTML.
Unfortunatelly download_cposg() doesn't yet work with all 27
TJs in Brazil. Here are the ones already implemented:
TJSP (Sao Paulo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.