download_decision: Download PDFs corresponding to judicial decisions

Description Usage Arguments Value

Description

Given the unique identifier of a judicial decision (an 8 digit number), this function downloads the corresponding PDF.

Usage

1
download_decision(decision, path = ".", tj = "tjsp")

Arguments

decision

A character vector with decision IDs

path

Path to directory where to save PDF

tj

TJ from which to get data (only works with TJSP for now)

Value

A character vector with the path to the downloaded file


jtrecenti/esaj documentation built on June 20, 2019, 7:13 p.m.