Description Usage Arguments Value About DJEs Implemented TJs Examples
This function downloads Diarios da Justica Eletronicos (Electronic Court Records) as PDFs. Given a Tribunal de Justica (Justice Court), a character vector of dates, and the path to a directory it will collect the DJEs published on these dates, and save them to the provided directory.
1 | download_dje(tj, dates = Sys.Date(), path = ".", verbose = FALSE)
|
tj |
Abbreviation of a Justice Court (i.e. "TJSP") |
dates |
A character vector of dates of the form YYYY-MM-DD |
path |
Path to the directory where the DJEs should be downloaded |
verbose |
Whether to print download statuses |
A character vector with the paths to the downloaded DJEs
Electronic Court Records are documents published almost daily by every state's Justice Court containing important information regarding new lawsuits being filed, decisions being made by judges, and so on. Note that DJEs may be split into multiple "booklets"; when this happens it means that each booklet contains information about only one type of lawsuit.
Unfortunatelly download_dje()
doesn't yet work with all 27 TJs in
Brazil. Here are the ones already implemented:
TJAC: Acre
TJAL: Alagoas
TJAM: Amazonas
TJBA: Bahia
TJCE: Ceara
TJMS: Mato Grosso do Sul
TJRN: Rio Grande do Norte
TJSC: Santa Catarina
TJSP: Sao Paulo
1 2 3 4 5 | ## Not run:
download_dje("TJSP", Sys.Date())
download_dje("TJSC", Sys.Date() - 0:3, verbose = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.