download_documents: Download PDF documents belonging to lawsuits

Description Usage Arguments See Also

Description

This function accesses lawsuits' ESAJ pages and tries to download documents (if IDs are provided to 'data' and a lawsuit isn't found, shows error but skips it).

Usage

1
2
download_documents(data, path, login = NULL, password = NULL,
  only_petitions = FALSE, progress = FALSE)

Arguments

data

A character vector with one or more lawsuit IDs or the tibble returned by [get_metadata()] (can be filtered)

path

Path to directory where to save files

login

ESAJ system login (if left ‘NULL' and your’re not logged in yet, will ask for it)

password

ESAJ system password (if left ‘NULL' and your’re not logged in yet, will ask for it)

only_petitions

Whether to only download petitions

progress

Whether to show a progress bar

See Also

[get_metadata()]


abjur/peticoesTJSP documentation built on June 4, 2019, 3:09 a.m.