download_excel: Download and Validate Excel File

View source: R/helpers_download.R

download_excelR Documentation

Download and Validate Excel File

Description

Downloads an Excel file with validation of expected sheets and file size.

Usage

download_excel(
  url,
  expected_sheets = NULL,
  min_size = 1000,
  ssl_verify = TRUE,
  max_retries = 3,
  quiet = FALSE
)

Arguments

url

Character. URL of the Excel file.

expected_sheets

Character vector. Sheet names that must be present. If NULL, no sheet validation is performed.

min_size

Integer. Minimum file size in bytes. Default 1000.

ssl_verify

Logical. Whether to verify SSL certificates.

max_retries

Integer. Number of retry attempts.

quiet

Logical. Suppress progress messages.

Value

Character. Path to downloaded and validated Excel file.


realestatebr documentation built on June 5, 2026, 5:07 p.m.