This function downloads all data from a specified base using the query SELECT * FROM base_name.
Usage
plug_download_base(
base_name,
endpoint = "https://plug.der.pe.gov.br/MadrixApi/executeQuery",
verbosity = 0
)
Arguments
- base_name
The name of the base from which to download all data.
- endpoint
The endpoint URL for executing queries.
- verbosity
The verbosity level of the API request (0 = none, 1 = minimal, 2 = detailed).
Value
A tibble containing all data from the specified base.
Examples
# \donttest{
if (FALSE) { # \dontrun{
data <- plug_download_base(
base_name = "Contratos_VIEW"
)
} # }
# }