Given the unique identifier of a judicial decision (an 8 digit number), this function downloads the corresponding PDF.
download_decision(decision, path = ".", tj = "tjsp")
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) |
A character vector with the path to the downloaded file