Skip to contents

Returns an S3 object that holds session state and provides methods for data download. All state is self-contained; no global variables are used.

Usage

vigiar_client(timeout = 30, max_retries = 3)

Arguments

timeout

Seconds before HTTP timeout.

max_retries

Maximum retry attempts on transient failures.

Value

An object of class vigiar_client.

Examples

# \dontrun{
client <- vigiar_client()
#> VIGIAR conectado: 30 tabelas disponiveis.
client
#> Cliente VIGIAR -- 30 tabelas
#>   Criado em: 2026-10-10 15:50:30
#>   Tabelas:   medidas, Ano, Selecao, df_mensal, df_ano
# }