download_decision: Download PDFs corresponding to judicial decisions

Description Usage Arguments Value

View source: R/decisions.R

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 Feb. 11, 2019, 9:13 a.m.