| Title: | Import Brazilian Real Estate Data into R |
|---|---|
| Description: | Provides access to Brazilian real estate market data from multiple official sources: the Central Bank of Brazil (BCB) <https://www.bcb.gov.br/>, the Brazilian Association of Real Estate Developers (ABRAINC) <https://abrainc.org.br/>, the Brazilian Association of Real Estate Credit and Savings Entities (ABECIP) <https://www.abecip.org.br/>, the Getulio Vargas Foundation (FGV) <https://portalibre.fgv.br/>, and the Bank for International Settlements (BIS) <https://www.bis.org/>. |
| Authors: | Vinicius Oike [aut, cre, cph] (ORCID: <https://orcid.org/0009-0005-8015-9189>) |
| Maintainer: | Vinicius Oike <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 1.0.1 |
| Built: | 2026-07-21 09:17:17 UTC |
| Source: | https://github.com/viniciusoike/realestatebr |
Housing credit data from Brazilian housing finance system (SFH) including SBPE flows, financed units, and home equity loans.
Retrieve this dataset with get_dataset() using the name "abecip".
abecip <- get_dataset("abecip")
abecip_units <- get_dataset("abecip", table = "units")
Source: ABECIP - Associação Brasileira das Entidades de Crédito Imobiliário
Geography: Brazil
Frequency: monthly
Coverage: 1982-present (varies by category)
Tables: "sbpe", "units", "cgi" (default: "sbpe")
Column names translated from Portuguese to English following standard patterns.
Monetary flows from SBPE (Sistema Brasileiro de Poupança e Empréstimo). This is the default table. Coverage: January 1982-present.
Reference month.
Deposits into SBPE savings accounts during the month (R$ million; historical values in the currency of the period).
Withdrawals from SBPE savings accounts during the month (R$ million).
Net savings flow: inflow minus outflow (R$ million).
Net flow as a share of the SBPE savings stock.
Interest credited to SBPE savings accounts (R$ million).
End-of-month SBPE savings stock (R$ million).
Deposits into rural savings accounts during the month (R$ million).
Withdrawals from rural savings accounts during the month (R$ million).
Net rural savings flow: inflow minus outflow (R$ million).
Net rural flow as a share of the rural savings stock.
Interest credited to rural savings accounts (R$ million).
End-of-month rural savings stock (R$ million).
Combined SBPE and rural savings stock (R$ million).
Combined SBPE and rural net savings flow (R$ million).
Number of units financed by SBPE, split by construction and acquisition. Coverage: January 2002-present.
Reference month.
Number of units financed for construction.
Number of units financed for acquisition.
Total number of financed units.
Value of construction financing (R$ million).
Value of acquisition financing (R$ million).
Total value of financing (R$ million).
Summary data on home equity loans including default rates and average terms. Coverage: January 2017-present.
Reference year.
Reference month.
Number of new home equity loan contracts signed in the month.
Number of outstanding contracts at the end of the month.
Value of new loans granted in the month (R$).
Outstanding loan balance at the end of the month (R$).
Average contract term (months).
Share of loans in default (percent).
ABECIP - Associação Brasileira das Entidades de Crédito Imobiliário
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abrainc,
bcb_realestate,
bcb_series,
fgv_ibre,
rppi,
rppi_bis,
secovi
Primary real estate market indicators including launches, sales, and business conditions from 66+ partnered developers.
Retrieve this dataset with get_dataset() using the name "abrainc".
abrainc <- get_dataset("abrainc")
abrainc_radar <- get_dataset("abrainc", table = "radar")
Source: ABRAINC/FIPE
Geography: Brazil (major cities)
Frequency: quarterly
Coverage: 2014-present
Tables: "indicator", "radar", "leading" (default: "indicator")
Social Housing (MCMV) refers to Minha Casa Minha Vida and Casa Verde Amarela programs.
Broad numbers of launches, sales, supply in the primary market. This is the default table.
Reference month.
Reference year.
Indicator group (e.g. new_units, sold, delivered).
Market segment: total, market_rate, or social_housing (MCMV and related programs).
Number of units.
Human-readable label for variable.
0-10 standardized index for general business conditions.
Reference month.
Reference year.
Radar dimension (e.g. macro, credit, demand).
Indicator within the dimension (e.g. confidence, activity, interest).
Source of the underlying series (e.g. FGV, BCB).
Standardized 0-10 score.
Average score of the category over the full sample.
Average score of the category in the year.
Average score of the variable in the year.
3-month moving average of value.
6-month moving average of value.
Human-readable label for variable.
Building permits in São Paulo as real estate leading indicator.
Reference month.
Reference year.
Series identifier: leading_index, leading_index_12m, or alvaras_total (building permits).
São Paulo city zone (Total, Centro, Zona Norte, and others).
Series value; index points, percent change, or permit counts depending on variable.
Human-readable label for variable.
ABRAINC/FIPE
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abecip,
bcb_realestate,
bcb_series,
fgv_ibre,
rppi,
rppi_bis,
secovi
List of main Brazilian real estate players listed on B3.
b3_real_estateb3_real_estate
b3_real_estateA tibble with 38 rows and 3 columns:
Stock ticker.
Full company name.
A shorter version of the company name.
B3
A table with metadata for BCB economic series. Use with get_dataset("bcb_series").
The hierarchy column controls which series are returned by default: pass
table = "core" for the most relevant real estate series, or a broader
level for more macroeconomic context (see get_dataset).
bcb_metadatabcb_metadata
bcb_metadataA data frame with 140 rows and 11 columns:
Numeric code identifying the series.
Category of the series.
Simplified name of the series.
Full name of the series in Portuguese.
Full name of the series in English.
Unit of the series.
Frequency of the series.
Date of the first available observation.
Date of the last available observation.
Source of the series.
Integer relevance tier: 1 = core real estate credit series; 2 = primary (key macro series such as SELIC, IPCA, INCC); 3 = secondary (broader macro context); 4 = tertiary (less relevant or discontinued series).
Brazilian Central Bank (BCB)
Comprehensive real estate credit and market data from Brazilian Central Bank.
Retrieve this dataset with get_dataset() using the name "bcb_realestate".
bcb_realestate <- get_dataset("bcb_realestate")
bcb_realestate_accounting <- get_dataset("bcb_realestate", table = "accounting")
Source: Banco Central do Brasil
URL: https://dadosabertos.bcb.gov.br/dataset/informacoes-do-mercado-imobiliario
Geography: Brazil (by state)
Frequency: monthly
Coverage: 2001-present (varies by category)
Tables: "accounting", "application", "indices", "sources", "units" (default: "all")
Complex multi-level series structure; v1-v5 columns contain series components.
All tables share the structure below; the table argument filters which
series are returned.
End-of-month reference date (last day of the month).
Top-level series grouping (e.g. credito, contabil, direcionamento, fontes, imoveis).
Series subtype within the category (e.g. estoque, contratacao, financiamento).
Series identifier component 1; meaning varies by series (e.g. carteira, borrower type, region).
Series identifier component 2 (e.g. br, pf, pj).
Series identifier component 3 (e.g. credit line such as sfh, fgts, home-equity).
Series identifier component 4 (often a state abbreviation or credit line).
Series identifier component 5 (often a state abbreviation or br).
Full underscore-separated series identifier; together with date it uniquely identifies an observation.
Series value; unit varies by series (R$, units, or percent).
Reference year.
Reference month (1-12).
Two-letter state abbreviation, or BR for the national aggregate.
Banco Central do Brasil
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abecip,
abrainc,
bcb_series,
fgv_ibre,
rppi,
rppi_bis,
secovi
General economic and real estate related time series from Brazilian Central Bank.
Retrieve this dataset with get_dataset() using the name "bcb_series".
bcb_series <- get_dataset("bcb_series")
bcb_series_primary <- get_dataset("bcb_series", table = "primary")
Source: Banco Central do Brasil - SGS
Geography: Brazil
Frequency: varies (daily/monthly/quarterly)
Coverage: varies by series
Tables: "core", "primary", "secondary", "tertiary", "full" (default: "core")
Metadata available in both Portuguese and English.
All tables share the structure below; the table argument filters which
series are returned.
Reference date (frequency varies by series).
Numeric code of the series in the BCB SGS system.
Short series identifier; see the bundled bcb_metadata table for full names and units.
Series value.
Banco Central do Brasil - SGS
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abecip,
abrainc,
bcb_realestate,
fgv_ibre,
rppi,
rppi_bis,
secovi
Drops every dataset memoised during the current R session. Useful when iterating during development or to force re-fetch without restarting R.
clear_session_cache()clear_session_cache()
NULL, invisibly.
clear_session_cache()clear_session_cache()
A table with official IBGE identifiers for all Brazilian cities.
dim_citydim_city
An object of class tbl_df (inherits from tbl, data.frame) with 5570 rows and 9 columns.
A tibble with 5,570 rows and 9 columns:
7-digit IBGE code identifying the city.
Name of the city.
2-digit IBGE code identifying the state.
Two-letter state abbreviation (e.g. "SP").
Name of the state.
1-digit IBGE code identifying the region.
Name of the region.
Reference year of the IBGE territorial division (2020).
Simplified version of the city name for easier subsetting.
IBGE (Brazilian Institute of Geography and Statistics)
Real estate market indicators from Fundação Getulio Vargas IBRE.
Retrieve this dataset with get_dataset() using the name "fgv_ibre".
fgv_ibre <- get_dataset("fgv_ibre")
Source: FGV IBRE
Geography: Brazil
Frequency: monthly
Coverage: 2010-present
Technical economic terms; standard translations applied.
Reference month.
Short series identifier (e.g. incc_brasil_di, ivar_brazil, ic_cst).
Series value.
Full series name in Portuguese.
FGV series code.
Unit of the series (index, percent, or indicator).
FGV survey of origin (e.g. FGV-INCC, FGV-SONDA).
FGV IBRE
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abecip,
abrainc,
bcb_realestate,
bcb_series,
rppi,
rppi_bis,
secovi
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, ... )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.
For table and column documentation of each dataset, see the dataset
help topics: abecip, abrainc, bcb_realestate,
bcb_series, fgv_ibre, rppi, rppi_bis,
secovi.
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"))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"))
Returns detailed metadata for a single dataset, including available tables and source information.
get_dataset_info(name)get_dataset_info(name)
name |
Character. Dataset identifier (see |
A named list with the following elements:
Title, description, geography, frequency, and coverage.
Available tables/subtables and their descriptions.
Source organization and URL.
Cached file names and translation notes.
info <- get_dataset_info("abecip") str(info)info <- get_dataset_info("abecip") str(info)
Returns a tibble describing all datasets available in the realestatebr package. Optionally filter by category, source organization, or geographic coverage.
list_datasets(category = NULL, source = NULL, geography = NULL)list_datasets(category = NULL, source = NULL, geography = NULL)
category |
Optional character. Keyword matched against the dataset description
(e.g., |
source |
Optional character. Filter by data source organization
(e.g., |
geography |
Optional character. Filter by geographic coverage
(e.g., |
A tibble with one row per dataset and the following columns:
Dataset identifier used with get_dataset.
English dataset name.
Portuguese dataset name.
Brief description.
Data source organization.
Geographic coverage.
Update frequency.
Time period covered.
Comma-separated table names for multi-table datasets.
get_dataset for retrieving data,
get_dataset_info for detailed metadata on a single dataset.
list_datasets() list_datasets(source = "BCB")list_datasets() list_datasets(source = "BCB")
Comprehensive collection of all Brazilian residential property price indices.
Retrieve this dataset with get_dataset() using the name "rppi".
rppi <- get_dataset("rppi")
rppi_ivgr <- get_dataset("rppi", table = "ivgr")
Source: Multiple (FIPE/ZAP, IVGR, IGMI, IQA, IQAIW, IVAR, SECOVI-SP)
Geography: Brazil
Frequency: monthly
Coverage: varies by index
Tables: "fipezap", "ivgr", "igmi", "iqa", "iqaiw", "ivar", "secovi_sp", "sale", "rent", "all" (default: "fipezap")
Index methodologies vary by source; base periods normalized where possible.
FIPE-ZAP residential property price index. This is the default table. Coverage: Major cities.
Reference month.
City name or aggregate (e.g. Índice Fipezap).
Market segment: residential or commercial.
Transaction type: sale or rent.
Measure: index, chg, acum12m, price_m2, or yield.
Number of bedrooms (total, 1, 2, 3, or 4).
Value of the measure.
General residential values index. Coverage: National.
Reference month.
Geographic area (Brazil).
Price index level.
Month-on-month change of the index.
Accumulated 12-month change of the index.
General real estate market index. Coverage: São Paulo.
Reference month.
City name or national aggregate.
Price index level.
Month-on-month change of the index.
Accumulated 12-month change of the index.
QuintoAndar rent price index. Coverage: Major cities.
Reference month.
City name.
Rent index level.
Month-on-month change of the index.
Accumulated 12-month change of the index.
QuintoAndar ImovelWeb hedonic rent price index. Coverage: Major cities (6 cities).
Reference month.
City name.
Number of bedrooms (total, 1, 2, 3, or 4).
Rent index level.
Month-on-month change of the index.
Accumulated 12-month change of the index.
Residential rent values index. Coverage: National.
Reference month.
City name or national aggregate.
Rent index level.
Month-on-month change of the index.
Accumulated 12-month change of the index.
São Paulo real estate syndicate index. Coverage: São Paulo.
Reference month.
City name (São Paulo).
Rent index level.
Month-on-month change of the index.
Accumulated 12-month change of the index.
Harmonized combination of all sale-related indices with source column.
Index source: IVG-R, IGMI-R, or FipeZap.
Reference month.
City name or aggregate (e.g. Brazil).
Price index level (each source has its own base period).
Month-on-month change of the index.
Accumulated 12-month change of the index.
Harmonized combination of all rent-related indices with source column.
Index source: IVAR, IQAIW, or FipeZap.
Reference month.
City name or aggregate (e.g. Brazil).
Rent index level (each source has its own base period).
Month-on-month change of the index.
Accumulated 12-month change of the index.
Complete stacked dataset with transaction_type indicator.
Index source (e.g. IVG-R, IGMI-R, IVAR, IQAIW, FipeZap).
Reference month.
City name or aggregate (e.g. Brazil).
Index level (each source has its own base period).
Month-on-month change of the index.
Accumulated 12-month change of the index.
Transaction type: sale or rent.
Multiple (FIPE/ZAP, IVGR, IGMI, IQA, IQAIW, IVAR, SECOVI-SP)
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abecip,
abrainc,
bcb_realestate,
bcb_series,
fgv_ibre,
rppi_bis,
secovi
International residential property price indices from Bank for International Settlements.
Retrieve this dataset with get_dataset() using the name "rppi_bis".
rppi_bis <- get_dataset("rppi_bis")
rppi_bis_detailed_monthly <- get_dataset("rppi_bis", table = "detailed_monthly")
Source: Bank for International Settlements
Geography: International (60+ countries including Brazil)
Frequency: quarterly
Coverage: 1970-present (varies by country)
Tables: "selected", "detailed_monthly", "detailed_quarterly", "detailed_annual", "detailed_halfyearly" (default: "selected")
International data; minimal translation needed.
Core RPPI series for major countries. This is the default table.
Reference quarter (first day of the quarter).
Country or area code (aggregates use BIS codes such as 4T).
Country or area name.
Measure: index (2010 = 100) or yoy_chg (year-on-year change, percent).
Full description of the unit of measure.
1 for nominal series, 0 for CPI-deflated (real) series.
BIS series identifier.
Series value.
Monthly detailed RPPI data.
Reference period.
Reference year.
BIS series identifier.
Country or area code.
Country or area name.
Property type code.
Property type (e.g. all types, new or existing dwellings).
Property vintage code.
Property vintage (new versus existing).
Compiling organisation code.
Compiling organisation.
Priced unit code.
Priced unit (e.g. dwelling, square metre).
Seasonal adjustment code.
Seasonal adjustment description.
Series availability code.
Series availability description.
Unit of measure code.
Unit of measure description.
Unit multiplier code.
Unit multiplier description.
Series value.
Frequency-specific period columns (month, quarter, or semester) and a few metadata columns vary slightly across the detailed tables.
Quarterly detailed RPPI data.
Reference period.
Reference year.
BIS series identifier.
Country or area code.
Country or area name.
Property type code.
Property type (e.g. all types, new or existing dwellings).
Property vintage code.
Property vintage (new versus existing).
Compiling organisation code.
Compiling organisation.
Priced unit code.
Priced unit (e.g. dwelling, square metre).
Seasonal adjustment code.
Seasonal adjustment description.
Series availability code.
Series availability description.
Unit of measure code.
Unit of measure description.
Unit multiplier code.
Unit multiplier description.
Series value.
Annual detailed RPPI data.
Reference period.
Reference year.
BIS series identifier.
Country or area code.
Country or area name.
Property type code.
Property type (e.g. all types, new or existing dwellings).
Property vintage code.
Property vintage (new versus existing).
Compiling organisation code.
Compiling organisation.
Priced unit code.
Priced unit (e.g. dwelling, square metre).
Seasonal adjustment code.
Seasonal adjustment description.
Series availability code.
Series availability description.
Unit of measure code.
Unit of measure description.
Unit multiplier code.
Unit multiplier description.
Series value.
Half-yearly detailed RPPI data.
Reference period.
Reference year.
BIS series identifier.
Country or area code.
Country or area name.
Property type code.
Property type (e.g. all types, new or existing dwellings).
Property vintage code.
Property vintage (new versus existing).
Compiling organisation code.
Compiling organisation.
Priced unit code.
Priced unit (e.g. dwelling, square metre).
Seasonal adjustment code.
Seasonal adjustment description.
Series availability code.
Series availability description.
Unit of measure code.
Unit of measure description.
Unit multiplier code.
Unit multiplier description.
Series value.
Bank for International Settlements
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abecip,
abrainc,
bcb_realestate,
bcb_series,
fgv_ibre,
rppi,
secovi
São Paulo real estate market indicators including condominium fees, rentals, launches, and sales.
Retrieve this dataset with get_dataset() using the name "secovi".
secovi <- get_dataset("secovi")
secovi_condo <- get_dataset("secovi", table = "condo")
Source: SECOVI-SP - Sindicato da Habitação
Geography: São Paulo
Frequency: monthly
Coverage: 2004-present (varies by category)
Tables: "condo", "rent", "launch", "sale" (default: "all")
Regional classifications specific to São Paulo metropolitan area.
All tables share the structure below; the table argument filters which
series are returned.
Reference month.
Market segment: condo, rent, launch, or sale.
Indicator within the category (e.g. icon, default_condominio, acao_locaticia).
Breakdown dimension of the indicator (region, property type, or total).
Indicator value; unit varies by variable.
SECOVI-SP - Sindicato da Habitação
get_dataset(), list_datasets(), get_dataset_info()
Other datasets:
abecip,
abrainc,
bcb_realestate,
bcb_series,
fgv_ibre,
rppi,
rppi_bis