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

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