File size: 26,230 Bytes
d852d6b
 
 
 
 
9673e8e
d852d6b
3398571
d852d6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9673e8e
3398571
 
 
 
 
 
d852d6b
 
251feb0
 
 
d852d6b
 
 
 
 
 
 
 
5908d77
d852d6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251feb0
d852d6b
 
251feb0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d852d6b
 
 
 
3398571
 
 
 
 
 
d852d6b
 
 
 
3398571
d852d6b
 
 
 
 
5908d77
d852d6b
 
 
 
 
 
 
251feb0
d852d6b
 
 
 
 
 
 
 
251feb0
d852d6b
 
 
 
3398571
 
d852d6b
5908d77
3398571
d852d6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# ITBI Brazil Transactions — data dictionary

**Glossary.** *ITBI*: the municipal tax on property transfers. *Tax guide* (*guia*): the document with which it is paid; one row here is one transaction. *District*: IBGE administrative subdivision of a city; *neighbourhood* (*bairro*): finer, locally named area. *IBGE*: Brazil's statistics institute (*CNEFE*: its address register for the census). *CEP*: Brazilian postcode. *SQL*: São Paulo's property tax number (*Setor-Quadra-Lote*), unrelated to the database language. *Matrícula*: the property-registry id. *LAI*: Brazil's access-to-information law. *LGPD*: Brazil's data-protection law. *BRL*: Brazilian reais.

One row = one ITBI (real-estate transfer tax) transaction in **São Paulo**, **Rio de Janeiro** or **Belo Horizonte**, in one schema.
No row carries an address or a property id: there is no address, street number, tax/registry id, lot/block/segment code or lot-level coordinate. The rows are not anonymous, though: `source_url` points to the city's public file, which has the address, and date + value + area can match it.
File: `fato_itbi_br_transaction`, Parquet (zstd), Hive-partitioned by `city` and `year` (the two partition columns are read from the folder names), ordered by `transaction_id`.
Money is nominal Brazilian reais (BRL), `DECIMAL(18,2)`, plus the same values in US dollars, euros and constant (inflation-adjusted) reais, see "Currencies" below. Nothing is filtered out: odd rows are flagged, not removed.

## Columns

| Column | Type | Description and per-city source |
|---|---|---|
| `transaction_id` | VARCHAR | Hex SHA-256 of a private salt (kept on the producer's machine), the city and the content of the source row (source columns only; no file name or line number), plus an ordinal when two rows of a city have identical content. Stable across releases as long as the source row is unchanged. Not reversible to any address or id. |
| `city` | VARCHAR | `sao_paulo`, `rio_de_janeiro`, `belo_horizonte`. Partition column. |
| `transaction_date` | DATE | SP: day of the transaction. BH: day the tax was paid. Rio: first day of the month (see `date_precision`). |
| `date_precision` | VARCHAR | `day` (SP, BH) or `month` (Rio). |
| `year` | BIGINT | Year of `transaction_date`. Partition column. |
| `year_month` | VARCHAR | `YYYY-MM`. |
| `transaction_type` | VARCHAR | Short English vocabulary, **SP only** (null in Rio and BH, whose sources have no transaction nature): `sale`, `rights_assignment`, `adjudication_auction`, `inheritance_partition`, `exchange`, `dation_in_payment`, `capital_contribution`, `corporate_restructuring`, `fiduciary_default`, `usufruct_use`, `other`. |
| `transaction_type_source` | VARCHAR | SP: original nature code (1 = sale, …). Null elsewhere. |
| `value_declared_brl` | DECIMAL(18,2) | Declared transaction value. SP: "valor declarado"; Rio: `valor_transacoes`/`vl_declarado`; BH: `valor_declarado`. |
| `value_tax_base_brl` | DECIMAL(18,2) | Tax base ("base de cálculo"). SP and BH only; null in Rio (the source has none). In SP it is null in ~1,300 rows. It is often higher than the declared value (BH: 55% of rows). |
| `value_type` | VARCHAR | `declared_and_tax_base`, `declared_only` (all of Rio) or `tax_base_only`. |
| `value_flag` | VARCHAR | `symbolic` when the declared value is ≤ BRL 1,000 (same rule in all cities); `multi_unit_guide` (BH only): the tax guide sums several units, so the value covers more than the unit area; otherwise null. `symbolic` wins over `multi_unit_guide`. |
| `built_area_m2` | DECIMAL(18,2) | Built area. SP: `area_construida`; Rio: `area`; BH: `area_construida` of the unit. Null when 0/missing and for `land` (the area then is a plot area, which is not published). |
| `share_transferred_pct` | DECIMAL(5,2) | Share of the property transferred, 0–100 (percent, not a fraction). SP: "proporção transmitida" (valid range 0–100; 73 zeros and 541 values above 100 in the source are set to null). Rio: `parte_transferida`, which is 100 in every row of the source. BH: null (not in the source). |
| `price_per_m2_brl` | DECIMAL(18,2) | `value_declared_brl / built_area_m2`. Null if either is missing, if `value_flag` is not null, or if `share_transferred_pct < 100` (the declared value is then for the share, the area for the whole property); in São Paulo and Rio also null when `share_transferred_pct` is null (unknown share). Belo Horizonte has no share column, so this rule does not apply there. Not trimmed otherwise: see Known limitations. |
| `value_declared_usd` | DECIMAL(18,2) | `value_declared_brl` in US dollars at the monthly average rate of the month of `year_month` (see "Currencies"). Null if `value_declared_brl` is null or the month is before 2008-01 (no ECB rate for the real). |
| `value_declared_eur` | DECIMAL(18,2) | Same, in euros. |
| `price_per_m2_usd` | DECIMAL(18,2) | `price_per_m2_brl` in US dollars (same conversion). Null exactly where `price_per_m2_brl` is null, and before 2008-01. |
| `price_per_m2_eur` | DECIMAL(18,2) | Same, in euros. |
| `value_declared_brl_real` | DECIMAL(18,2) | `value_declared_brl` in constant reais: nominal value × IPCA(base month) ÷ IPCA(`year_month`). Base month = the latest month with a published IPCA at build time (`ipca_base_month` in `manifesto.json` and in the Actor's `RUN_SUMMARY`). Null only for a month the IBGE has not yet published. |
| `price_per_m2_brl_real` | DECIMAL(18,2) | `price_per_m2_brl` in constant reais (same base month); null exactly where `price_per_m2_brl` is null. |
| `property_use` | VARCHAR | `residential`, `commercial`, `land`, `parking`, `other` (mapping below). |
| `property_use_source` | VARCHAR | SP: IPTU use description. Rio: typology (`APARTAMENTO`, …), prefixed `vaga_vinculada:`/`area_comum:` for those unit types. BH: building-type code (`AP`, `CA`, …). |
| `property_type` | VARCHAR | Type of property, from the same source code as `property_use` but finer: `apartment`, `house`, `serviced_apartment`, `room_office`, `shop`, `warehouse`, `land`, `parking`, `other` (mapping below). Null only when the source has no code. A source code that is not in the mapping is `other`. Added in the 13a release; `transaction_id` did not change. |
| `building_age_band` | VARCHAR | Age of the building in the year of the transaction: `new` (2 years or less, **including off-plan sales**: a construction year after the transaction year counts as age 0), `3_10`, `11_25`, `26_plus`. **São Paulo and Belo Horizonte only**; always null in Rio (its source has no construction year). Null for land and when the source has no plausible construction year (before 1800, or more than 30 years after the transaction, which are typing errors such as 2888 or 9200). A construction year up to 30 years after the transaction year is an off-plan or under-construction sale and gives `new`. São Paulo uses the corrected construction year (ACC) of the IPTU; Belo Horizonte the construction year of the tax guide. The exact construction year is **not published** (re-identification risk), only the band. |
| `is_new_build` | BOOLEAN | `true` if the building was 1 year or less old in the year of the transaction (age 0 or 1; off-plan sales, with a construction year after the transaction year, are included). São Paulo and Belo Horizonte only; null wherever `building_age_band` is null. |
| `neighbourhood` | VARCHAR | Rio and BH: neighbourhood name from the source (13 BH rows whose source value is an Excel error are null). **Null in SP**: the source column "Bairro" holds the leftover of the complement ("TORRE A"), not a neighbourhood. |
| `district_code` | VARCHAR | IBGE district code, from the 2022 census tract that contains the published point (SP, Rio) or, in Rio, the nearest tract within 200 m. Null if there is no point or no tract within reach (192 rows in BH, ~2,900 in Rio, ~3,900 in SP). |
| `district_name` | VARCHAR | IBGE district name (same rule). |
| `postcode5` | VARCHAR | First 5 digits of the postcode (CEP). SP and BH only; always null in Rio (no postcode in the source). |
| `lat`, `lon` | DOUBLE | WGS84 (SIRGAS 2000) centroid of the area named in `geo_precision`. **Never the property's or an address's coordinate.** A centroid is only published if it represents at least k = 2 lots/addresses and does not coincide (6 decimals) with a lot or address; otherwise the row moves up a level. |
| `geo_precision` | VARCHAR | Level of `lat`/`lon` (below). |
| `source_file_sha256` | VARCHAR | SHA-256 of the source file the row came from (from the download manifest). |
| `source_url` | VARCHAR | URL of that file. |
| `licence` | VARCHAR | `CC-BY` (Belo Horizonte, attribution required: "Fonte: Prefeitura de Belo Horizonte, dados abertos"), `open data (attribution)` (São Paulo: municipal open data policy, attribution required: "Fonte: Prefeitura de São Paulo, Secretaria Municipal da Fazenda"; confirmed by the Finance Department in a LAI response, protocol 103469, 29 October 2026) or `not declared` (Rio: no licence stated by the publisher; a LAI request is pending). |

### `geo_precision` by city
| City | Values (finest to coarsest) |
|---|---|
| São Paulo | `block_centroid` (tax block, ≥ 2 lots), `sector_centroid` (tax sector), `postcode5` (no point, only `postcode5`), |
| Rio de Janeiro | `segment_centroid` (street segment), `street_centroid`, `neighbourhood_centroid`, |
| Belo Horizonte | `face_centroid` (block face), `postcode_centroid`, `neighbourhood_centroid`, |
| all | `none` (no point; `lat`/`lon` null) |

`geo_precision` is **not comparable across cities**: a Rio `street_centroid` is a whole street, a São Paulo `block_centroid` is a city block.

### `property_use` mapping
| Value | São Paulo (IPTU use code) | Rio (typology code) | Belo Horizonte (building type) |
|---|---|---|---|
| `residential` | 10, 12, 13, 14, 20, 21, 22, 25 | 2, 10, 19, 30, 31, 81, 83, 85 | AP, CA, BA |
| `commercial` | 30, 31, 32, 40, 41, 42, 80, 85 | 28, 32, 36, 37, 38, 44, 96 | SL, LJ, AC, CC |
| `warehouse` | 26, 51 | 52, 55 | none |
| `land` | 0 | 1 | LV |
| `parking` | 23, 24, 62, 63 | 47, 48; unit type "linked parking" | VC, VR |
| `other` | everything else (industry, workshop, school, temple, hospital, mixed-use…) | everything else; unit type "common area" | GP and any other |

### `property_type` mapping
Versioned table (`itbi_property_type_map`), same source codes as `property_use`. The unit type "linked parking" in Rio is `parking` and "common area" is `other`, before the typology.
| Value | São Paulo (IPTU use code) | Rio (typology code) | Belo Horizonte (building type) |
|---|---|---|---|
| `apartment` | 20, 21, 22 | 10, 85 | AP |
| `house` | 10, 12, 14 | 2, 83 | CA |
| `serviced_apartment` | 25, 85 | 19, 30, 31, 32 | none |
| `room_office` | 30 | 28 | SL |
| `shop` | 40, 41, 42 | 36, 37, 38, 44 | LJ |
| `land` | 0 | 1 | LV |
| `parking` | 23, 24, 62, 63 | 47, 48; unit type "linked parking" | VC, VR |
| `other` | everything else (industry, school, temple, hospital, hotel, tenement 13, mixed-use buildings 31, 32, 43…) | everything else; unit type "common area" (including 81 "proletário casa/apto") | AC, BA, BC, CC, GP, VV and any other |

`warehouse` is assigned only where the source code itself says shed, warehouse or storage; other codes (for example São Paulo 82–84, Belo Horizonte GP, whose source description is not available) stay `other`.

Note that `property_use` and `property_type` are classified separately and are not always nested: for example `commercial` in `property_use` covers São Paulo flats of commercial use (code 85), which are `serviced_apartment`, and Belo Horizonte BA is `residential` in `property_use` but `other` in `property_type`.

### `transaction_type` mapping (SP)
`sale` = 1 · `rights_assignment` = 2, 6, 7, 9, 10, 11, 26, 35 · `adjudication_auction` = 3, 4, 5 (compulsory adjudication), 31, 32 · `inheritance_partition` = 8, 5 (excess of share), 27–30 · `exchange` = 15 · `dation_in_payment` = 12 · `capital_contribution` = 20, 21, 40 · `corporate_restructuring` = 23, 24, 25 · `fiduciary_default` = 17 · `usufruct_use` = 18, 19 · `other` = 13, 14, 16, 33, 34. The source reuses code 5 for two natures; the description decides.

## Currencies and inflation adjustment
- **Exchange rates.** USD and EUR values use the **monthly average of the ECB euro reference rates** for the month of `year_month`, the same for the three cities (Rio only has the month). EUR/BRL is the ECB rate; **USD/BRL is derived**: for each day EUR/BRL ÷ EUR/USD, then averaged over the month. The rates themselves are not published, only the converted values. The ECB has no real rate before 2008-01-02, so earlier months (São Paulo has guides from 1994) have null USD/EUR and `note = fx_not_available` in `area_stats`. Nothing is interpolated.
- **Inflation.** Constant reais use the IBGE **IPCA** (national consumer price index, SIDRA table 1737), deflated to the latest month published at build time (`ipca_base_month`; currently 2026-09). It moves forward with each release, so `*_brl_real` values change from one release to the next; compare them within a release.
- **The ITBI date is not the deal date.** The `transaction_date` is when the tax was paid (SP: transaction day in the guide; BH: payment day; Rio: month), which can be weeks after the negotiation and the price. Converted values are indicative, not the rate on the day of the deal.
- **Attribution.** Exchange rates: ECB euro reference rates (USD/BRL derived cross rate). Inflation: IBGE IPCA. The ECB data is modified here (monthly averages, derived cross rate); the original rates are free at ecb.europa.eu.

## What is left out, on purpose (privacy)
The sources contain the full address, and some also a tax-registry id or registry number; a property, and through the registry its owner, can be identified from them (personal data under Brazil's LGPD). So this dataset has **no** street, address, street number, unit or complement, tax-registry id (SQL), registry number, reference, registry office or names, **and no** plot area, frontage, ideal fraction or sector/block/segment/face/street codes (together with a published centroid they would almost identify a lot). Locations are generalised centroids: a published point must represent at least 2 addresses or lots (k ≥ 2) and must not coincide with one; otherwise the row moves to a coarser `geo_precision`. `transaction_id` is a salted hash, not reversible to an address.

## Known limitations
- **One-off `transaction_id` change in Rio.** On 14 October 2026, 47,322 Rio de Janeiro transaction_id values from 2025 onwards changed once because the city republished the file with normalised street names; IDs from 2011–2024 are unchanged. (Belo Horizonte and São Paulo IDs are unaffected.)
- **Rio has month precision only**: `transaction_date` is the first day of the month. No tax base, no transaction type, no postcode. Only 37% of Rio rows are placed on a street segment (60% on the whole street, 3% on the neighbourhood), because the street-number range of the municipal street grid is unreliable.
- **Belo Horizonte has a gap between June 2014 and April 2015** (46–78 rows per month in June–December 2014 against about 2,400 elsewhere): missing source data, not a market drop. The delayed load arrived in May–August 2015 (peak of 10,150 rows in August 2015). In `area_stats_monthly` these cells are flagged in `note` (`bh_source_gap`, `bh_source_backlog`). No transaction type for BH; 2% of guides sum several units (`multi_unit_guide`).
- **Late filings revise past months**: a new release can add rows to months already published, and São Paulo files carry some rows from before 2006. The latest two to three months are incomplete and flagged `recent_incomplete` in `area_stats_monthly`; counts grow afterwards.
- **`geo_precision` varies by city** (see above); 26% of BH rows are at postcode or neighbourhood level, 63% of Rio rows are at street or neighbourhood level, and ~5% of SP rows are above block level.
- **Partial transfers (SP)**: 24% of SP rows transfer less than 100% (665,525 rows); there the declared value is for the share and `price_per_m2_brl` is null. Apartments with a share under 1% look like normal full-price sales in the source, so some usable prices are dropped (conservative choice). Among the rows that remain, 0.6% of SP prices are still under BRL 100/m² (mostly declared values under BRL 20,000) and 111 are above BRL 200,000/m². Filter on your own, or use `value_flag`, `property_use` and `transaction_type = 'sale'`.
- **Licences differ by city**: BH is CC-BY (credit "Fonte: Prefeitura de Belo Horizonte, dados abertos"); SP is municipal open data with attribution required (`open data (attribution)`; credit "Fonte: Prefeitura de São Paulo, Secretaria Municipal da Fazenda"; Lei Municipal 17.901/2023 and Decreto Municipal 63.463/2024, confirmed by the Finance Department in a LAI response, protocol 103469, 29 October 2026, which is a response and not a licence published on the city's page); Rio publishes without a licence (`not declared`; a LAI request is pending), so check before commercial redistribution. **São Paulo conditions:** do not re-identify taxpayers or expose individual wealth protected by tax secrecy, and do not associate the City of São Paulo or its Finance Department with your analyses. **Not affiliated with, endorsed by or approved by the City of São Paulo or its Finance Department.** Rio's street-level locations derive from the Data.Rio street grid (CC-BY-4.0; credit "Fonte: Prefeitura do Rio de Janeiro, Data.Rio"). Districts use IBGE 2022 census geography.
- District is derived from the *published* (generalised) point, so it may differ from the real district for rows near a border.

---

# area_stats_monthly

Monthly price and liquidity indicator by area. Built only from `fato_itbi_br_transaction`. File: `area_stats_monthly`, Parquet (zstd), partitioned by `city`.
One row per **cell** = `city × area_level × area_code × property_use × property_type × year_month`. A cell exists only if it has at least one transaction (a month with no sales produces no row).

| Column | Type | Definition |
|---|---|---|
| `city` | VARCHAR | As in the fact table. Partition column. |
| `area_level` | VARCHAR | `city`, `district` or `neighbourhood`. São Paulo has `city` and `district` only (no neighbourhood in its source). Belo Horizonte has all three. Rio has `city` and `neighbourhood` only: IBGE has a single district there, identical to the city level. |
| `area_code` | VARCHAR | `city`: the city code. `district`: IBGE district code. `neighbourhood`: Rio, the municipal neighbourhood code (`cd_bairro`); BH, a normalised slug of the name (upper case, no accents, spaces collapsed). Spelling variants therefore fall in the same area. |
| `area_name` | VARCHAR | Readable name; for neighbourhoods, the most frequent spelling of the area (same in every month). |
| `property_use` | VARCHAR | `residential`, `commercial`, or `all` (every row of the fact table, including land, parking and other). |
| `property_type` | VARCHAR | `all` (every property type: these are exactly the rows that existed before the 13a release, with unchanged numbers), `apartment` or `house`. The apartment and house rows have `property_use = all`. Same price rules (n_priced >= 5 for percentiles). |
| `year_month` | VARCHAR | `YYYY-MM` of `transaction_date`. |
| `n_transactions` | BIGINT | **All** rows of the cell, with no price filter (liquidity). |
| `n_priced` | BIGINT | Rows of the cell that are *eligible for price statistics* (below). |
| `price_per_m2_p25`, `price_per_m2_median`, `price_per_m2_p75` | DECIMAL(18,2) | 25th/50th/75th percentile (`quantile_cont`) of `price_per_m2_brl` over the eligible rows. **Null when `n_priced < 5`** (the row stays). |
| `price_per_m2_usd_p25`, `price_per_m2_usd_median`, `price_per_m2_usd_p75`, `price_per_m2_eur_p25`, `price_per_m2_eur_median`, `price_per_m2_eur_p75` | DECIMAL(18,2) | The same percentiles of `price_per_m2_usd` / `price_per_m2_eur` over the same eligible rows (every row of a cell shares one month, hence one rate, so they equal the BRL percentiles converted at that month's rate). Null when `n_priced < 5` and before 2008-01. |
| `price_per_m2_brl_real_median` | DECIMAL(18,2) | Median of `price_per_m2_brl_real` (constant reais, IPCA base month as above). Null when `n_priced < 5`. |
| `n_transactions_yoy_pct` | DECIMAL(9,2) | `100 × (n − n_prior) / n_prior`, where `n_prior` is `n_transactions` of the same area and use in the same month of the previous year. Null if that cell is missing or has `n_prior < 5`, or (BH) if the previous-year month is `bh_source_gap` or `bh_source_backlog`. |
| `licence` | VARCHAR | Added in the Actor output and in the free sample (not in the Parquet of the full gold): `CC-BY` for Belo Horizonte, `open data (attribution)` for São Paulo, `not declared` for Rio (the free sample has Belo Horizonte and São Paulo only). |
| `note` | VARCHAR | One value per cell, by precedence: `bh_source_gap` (BH, 2014-06 to 2015-04: source loaded incompletely) > `bh_source_backlog` (BH, 2015-05 to 2015-08: the delayed load after the gap arrived in those months, peak 10,150 rows in 2015-08) > `recent_incomplete` (months from two months before the month of the city's raw download date: late filings are still arriving; it flags 2026-08/09 for SP and 2026-08 for Rio and BH in the current release) > `fx_not_available` (month before 2008-01: no ECB rate for the real, so the USD and EUR columns are null; BRL and constant-BRL columns are unaffected, and counts remain comparable) > null. Counts and prices in cells flagged with the first three values are not comparable. |

**Eligibility for price statistics**: `price_per_m2_brl` is not null (so `value_flag` is null, `share_transferred_pct` is 100 or null, and area is known), it is between BRL 100 and BRL 200,000 per m², and, **for São Paulo only, `transaction_type = 'sale'`**. Rio and BH have no transaction nature in their sources, so there **all natures are included** (gifts, swaps and others are not separable).

Notes:
- Suppression here is statistical noise control, not confidentiality: the underlying rows are already public in the fact table, so there is no complementary suppression.
- Rio dates are month-only; every Rio transaction counts in its month.
- Percentiles of `all` mix uses (houses, apartments, offices, land…) and move with the mix; prefer `residential` for trend.
- Prices are nominal BRL, not adjusted for inflation.

---

# repeat_sales_index (experimental, São Paulo only)

Quarterly repeat-sales price index for São Paulo residential property. File: `repeat_sales_index.parquet`. **Status: experimental** (`status = 'experimental'`, `method = 'bmn_v0'`): the method and the numbers may change between releases; do not treat it as a reference index.
It contains no property data: the property key (the municipal tax id, "SQL") is used only to pair sales inside the producer's silver layer and never leaves it.

| Column | Type | Definition |
|---|---|---|
| `city` | VARCHAR | Always `sao_paulo`. |
| `segment` | VARCHAR | `residential_all` (all residential uses), `apartment` (IPTU use code 20) or `house` (use code 10). |
| `quarter` | VARCHAR | `YYYY-Qn`, quarter of the transaction date. Quarters that were pruned (below) are absent, so the series can have gaps. |
| `index_value` | DOUBLE | `100 × exp(log_index)`. **Base: 2019-Q4 = 100** in every segment. |
| `log_index` | DOUBLE | Estimated quarter effect relative to the base quarter (0 at the base). |
| `std_error` | DOUBLE | OLS standard error of `log_index` against the base quarter (0 at the base). |
| `n_pairs_start` | BIGINT | Pairs in the final sample whose **first** sale is in this quarter. |
| `n_pairs_end` | BIGINT | Pairs whose **second** sale is in this quarter. |
| `method` | VARCHAR | `bmn_v0`. |
| `status` | VARCHAR | `experimental`. |

**Method (Bailey-Muth-Nourse).** For each pair of consecutive sales of the same property, `ln(P2 / P1) = Σ β_q · d_q`, where `d_q` is −1 for the quarter of the first sale, +1 for the quarter of the second, no intercept, ordinary least squares; the base quarter's coefficient is fixed at 0. `index_value = 100 · exp(β)`.

**Pairs.** Eligible sales: nature = sale (compra e venda), `share_transferred_pct = 100`, declared value above BRL 1,000, residential use. A pair is two *consecutive* eligible sales of the same SQL (never all-against-all). A pair is dropped if: the two sales have different use codes; they are less than 180 days apart (flip or corrected tax guide, includes same day); built area is missing on either side, or changes by more than 10% (renovation or a reused SQL); or the annualised log return is beyond ±0.5 (`|ln(P2/P1)| / years > 0.5`).

**Pruning.** A quarter with fewer than 30 pairs (`n_pairs_start + n_pairs_end`, that is, as first or as second sale) is removed together with the pairs that touch it, repeatedly until every remaining quarter has at least 30; then only the connected part that contains the base quarter is kept. A segment with no base quarter is not published.

**Limitations.**
- **Why experimental:** the method is standard but this implementation is a first version. Quality is not validated against an external index; the simplest checks (below the table) only show that it moves with the median price per m².
- **Why only São Paulo:** the key needs a stable property id. Only São Paulo's source has one (SQL). Rio and BH publish an address at best, which would need an approximate key; not done.
- Renovations and improvements are invisible (only large area changes are caught), so the index tends to drift upward. Sales of new units that are resold soon after (launch → resale) behave differently from the stock.
- Only properties sold at least twice enter. Repeat sellers are not a random sample of the market.
- The earliest quarters (2004-Q4, 2005-Q4) rest on few pairs, all as first sales, and are noisy (see `std_error`). The last quarter is partial and late filings revise it.
- Nominal values, not inflation-adjusted. Declared values are what the tax guide declares, not appraised values.