download_cpopg: Download first degree lawsuits filed in Brazilian Justice...

Description Usage Arguments Value About lawsuits Implemented TJs

Description

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.

Usage

1
download_cpopg(id, path = ".")

Arguments

id

A character vector of one or more lawsuit IDs

path

Path to the directory where the lawsuit should be saved

Value

A character vector with the path to the downloaded lawsuit

About lawsuits

The lawsuits contemplated by this funtion have to be filed in a Brazilian Tribunal de Justica (Justice Court). download_cpopg() 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.

Implemented TJs

Unfortunatelly download_cpopg() doesn't yet work with all 27 TJs in Brazil. Here are the ones already implemented:


courtsbr/esaj documentation built on June 18, 2019, 4:52 a.m.