| get_dataset | R Documentation |
Unified interface for accessing all realestatebr datasets. Resolves data from the package's GitHub release assets when possible (fast, pre-processed, updated weekly by CI) and falls back to a fresh download from the original source. Repeated calls within one R session are served from an in-memory memo to avoid redundant network traffic.
get_dataset(
name,
table = NULL,
source = "auto",
date_start = NULL,
date_end = NULL,
...
)
name |
Character. Dataset name (see |
table |
Character. Specific table within a multi-table dataset. See
|
source |
Character. Data source preference:
Use |
date_start |
Date. Start date for time series filtering (where applicable). |
date_end |
Date. End date for time series filtering (where applicable). |
... |
Additional arguments passed to internal dataset functions. |
A tibble or named list, depending on the dataset. Use
get_dataset_info to inspect the expected structure.
list_datasets for available datasets,
get_dataset_info for dataset details,
clear_session_cache to drop the in-session memo.
abecip_data <- get_dataset("abecip")
sbpe_data <- get_dataset("abecip", table = "sbpe")
bcb_recent <- get_dataset("bcb_series", date_start = as.Date("2020-01-01"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.