File size: 10,336 Bytes
9f46fda
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
---
license: apache-2.0
language:
  - ar
  - bg
  - cs
  - de
  - en
  - es
  - fr
  - hi
  - hr
  - id
  - it
  - ja
  - ko
  - nl
  - pl
  - pt
  - ro
  - ru
  - sv
  - th
  - tr
  - vi
  - zh
tags:
  - construction
  - cost-estimation
  - quantity-surveying
  - BIM
  - construction-rates
  - bill-of-quantities
  - tabular
  - parquet
  - multilingual
size_categories:
  - 1M<n<10M
pretty_name: CWICR  Construction Works, Items, Costs & Resources (30 Countries)
configs:
  - config_name: default
    data_files:
      - split: ar
        path: AR/*.parquet
      - split: au
        path: AU/*.parquet
      - split: bg
        path: BG/*.parquet
      - split: cs
        path: CS/*.parquet
      - split: de
        path: DE/*.parquet
      - split: en
        path: EN/*.parquet
      - split: es
        path: ES/*.parquet
      - split: fr
        path: FR/*.parquet
      - split: hi
        path: HI/*.parquet
      - split: hr
        path: HR/*.parquet
      - split: id
        path: ID/*.parquet
      - split: it
        path: IT/*.parquet
      - split: ja
        path: JA/*.parquet
      - split: ko
        path: KO/*.parquet
      - split: mx
        path: MX/*.parquet
      - split: ng
        path: NG/*.parquet
      - split: nl
        path: NL/*.parquet
      - split: nz
        path: NZ/*.parquet
      - split: pl
        path: PL/*.parquet
      - split: pt
        path: PT/*.parquet
      - split: ro
        path: RO/*.parquet
      - split: ru
        path: RU/*.parquet
      - split: sv
        path: SV/*.parquet
      - split: th
        path: TH/*.parquet
      - split: tr
        path: TR/*.parquet
      - split: uk
        path: UK/*.parquet
      - split: us
        path: US/*.parquet
      - split: vi
        path: VI/*.parquet
      - split: za
        path: ZA/*.parquet
      - split: zh
        path: ZH/*.parquet
---

# CWICR — Construction Works, Items, Costs & Resources

**A multilingual, machine-readable database of national construction rate books for 30 countries / language locales.** Each rate is fully decomposed into its work composition and resource breakdown (labour, machinery, materials), with unit prices, hierarchical classification, and physical parameters preserved in the source language.

This dataset is the **tabular source-of-truth** behind the [`cwicr-vector-db-bgem3-v3`](https://huggingface.co/datasets/DataDrivenConstruction/cwicr-vector-db-bgem3-v3) Qdrant snapshots. Use this repository when you need raw numeric data (prices, quantities, time norms); use the vector DB repository when you need semantic search over rate descriptions.

## Contents per country

Each language directory (`AR/`, `BG/`, `CS/`, `DE/`, …) contains:

| File | Description |
|---|---|
| `<LANG>_<CITY>_workitems_costs_resources_DDC_CWICR.parquet` | Primary table — one row per (rate × resource). ~900K rows per country, 84 columns. |
| `DDC_CWICR_<LANG>_<CITY>_Catalog.csv` | Compact catalogue — one row per unique `rate_code` with title, unit, collection, hierarchy. ~55K rows per country. |
| `DDC_CWICR_<LANG>_<CITY>_Catalog.xlsx` | Same catalogue, Excel-formatted (auto-widths, frozen headers). |
| `README_DDC_CWICR_TABULAR_<LANG>_<CITY>.pdf` | Localised PDF documentation for that country's rate book. |
| `README.md` | Per-country quick reference (locale, collections, schema notes). |

Excel exports of the full table (`*_FORMATTED.xlsx`, `*_SIMPLE.xlsx`) are reproducible from the parquet and are kept in the source GitHub repository as Git LFS objects.

## Schema (parquet — 84 columns)

The parquet preserves the full rate decomposition. A rate (e.g. *"Excavator 15 m³, soil class 2"*) is unfolded into multiple rows, one per resource it consumes (the excavator itself, fuel, operator labour, transport, etc.). Each row carries both rate-level fields (replicated across the rate's rows) and resource-level fields (unique per row).

Column groups:

- **Identification**: `rate_code`, `rate_original_name`, `rate_final_name`, `rate_unit`, `is_abstract` (parent aggregator vs. specific variant)
- **Hierarchy**: `category_type`, `department_code`, `department_name`, `section_name`, `subsection_name`, `collection_name`
- **Physical params**: `mass_name`, `mass_value`, `mass_unit` (preserves original semantics: "масса 1 шт.", "Gewicht", etc.)
- **Costs**: `rate_total_cost`, `rate_labour_cost`, `rate_materials_cost`, `rate_machinery_cost`, `rate_overhead`, `rate_profit`, `currency`
- **Work composition**: `work_composition_text` — full natural-language description of the work performed
- **Resources** (one row each): `resource_code`, `resource_name`, `resource_type`, `resource_quantity`, `resource_unit`, `resource_unit_cost`, `resource_total_cost`
- **Machinery taxonomy**: `machine_class1_name``machine_class3_name` — classification of machinery resources
- **Provenance**: `source_book`, `source_year`, `source_publisher`, `source_url`

All text fields are in the **source language of the rate book** (Russian, German, Chinese, Hindi, etc.). Unit symbols and numeric values are kept verbatim from the original publication.

## Quick start (Python)

```python
from datasets import load_dataset

# Load all rates for one country (parquet → in-memory Arrow table)
ds = load_dataset("DataDrivenConstruction/cwicr-construction-rates", split="de")
print(ds.column_names)
print(ds[0])

# Or load lazily with polars (recommended for >100K rows)
import polars as pl
df = pl.scan_parquet(
    "hf://datasets/DataDrivenConstruction/cwicr-construction-rates/DE/DE_BERLIN_workitems_costs_resources_DDC_CWICR.parquet"
).filter(pl.col("collection_name").str.contains("Erdarbeiten")).collect()
```

## Quick start (CLI)

```bash
# Download one country
huggingface-cli download DataDrivenConstruction/cwicr-construction-rates \
  --include "DE/*" --repo-type dataset --local-dir ./cwicr_de

# Convert to CSV for quick inspection
python -c "import polars as pl; pl.read_parquet('cwicr_de/DE/DE_BERLIN_workitems_costs_resources_DDC_CWICR.parquet').write_csv('de.csv')"
```

## Coverage

**30 locale-specific rate books** spanning **23 languages**:

| Region | Locales |
|---|---|
| Russian-speaking | RU (St. Petersburg / federal) |
| English-speaking | EN (Toronto), UK (London / GBP), US (USA / USD), AU (Sydney), NZ (Auckland), NG (Lagos), ZA (Johannesburg) |
| Spanish/Portuguese | ES (Barcelona), MX (Mexico City), PT (São Paulo) |
| Central/Eastern Europe | DE (Berlin), FR (Paris), IT (Rome), NL (Amsterdam), PL (Warsaw), CS (Prague), HR (Zagreb), BG (Sofia), RO (Bucharest), SV (Stockholm), TR (Istanbul) |
| Middle East / South Asia | AR (Dubai), HI (Mumbai) |
| East / Southeast Asia | ZH (Shanghai), JA (Tokyo), KO (Seoul), TH (Bangkok), VI (Hanoi), ID (Jakarta) |

Each rate book uses its **native classification system** (Russian СНиП codes, German DIN structures, US MasterFormat-style hierarchies, Chinese GB classifiers, etc.). The schema is unified across countries but the *values* in `collection_name` / `department_code` / etc. are in the source language and follow each country's own taxonomy.

## Use cases

- **Cost estimation**: BIM quantity takeoff → match elements to rates → compute project cost in local currency
- **Cross-country price benchmarking**: compare the unit cost of equivalent works (e.g. concrete pouring) across markets
- **Construction-specific LLM fine-tuning**: rich multilingual corpus of technical construction language with structured grounding
- **Resource normalization research**: align machinery / material / labour ontologies across national catalogues
- **Quantity surveying education**: realistic worked examples in 23 languages

## Related artifacts

- **Vector DB snapshots** (Qdrant, hybrid BGE-M3 dense + sparse + resources, ready to restore):  
  → [`DataDrivenConstruction/cwicr-vector-db-bgem3-v3`](https://huggingface.co/datasets/DataDrivenConstruction/cwicr-vector-db-bgem3-v3)
- **Source code / pipelines** (encoders, classifiers, search demos, BIM matchers):  
  → [`github.com/datadrivenconstruction/OpenConstructionEstimate-DDC-CWICR`](https://github.com/datadrivenconstruction/OpenConstructionEstimate-DDC-CWICR)

## Data sources

CWICR aggregates publicly available national rate catalogues:

- **RU**: Federal Unified Rates (ФЕР / ТЕР), Ministry of Construction RF, regional indices.
- **EU**: National building cost compendia for each member state.
- **US/CA**: RSMeans-style cost data, MasterFormat-aligned.
- **CN/JP/KR/TH/VN/ID**: Government-published quota / norm catalogues.
- **Other**: Country-specific official sources cited in each rate's `source_book` field.

The CWICR pipeline normalises these into a single schema; the **rate codes, prices, and work compositions are preserved verbatim** from the originals. License applicability of underlying codes follows each catalogue's terms; this redistribution is for research and reference. Where redistribution is restricted, only derived metrics or anonymised samples are included.

## Reproducibility

The CWICR pipeline (parsers, normalisers, classifiers) is open-source. Each parquet here is built by:

1. Source-specific parser → standard `workitems_costs_resources` raw frame
2. `v3_classifier.enrich_v3` → 29 indexed payload fields (collections, departments, physical params)
3. `ost_ifc_mapping.base_code` → cross-language rate-code normalisation (lang/unit suffixes + inline tags)

See the source repository for full pipeline scripts.

## License

Released under **Apache-2.0** for the dataset structure, normalisation pipeline, and derived metadata. Underlying rate codes and prices are sourced from publicly available national catalogues — each catalogue's terms of use apply to commercial redistribution of raw numeric values.

## Citation

```bibtex
@dataset{cwicr_rates_2026,
  author    = {Boiko, Artem and DataDrivenConstruction},
  title     = {CWICR — Construction Works, Items, Costs \& Resources (30 Countries)},
  year      = {2026},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/DataDrivenConstruction/cwicr-construction-rates}
}
```

## Contact

- Source code & issue tracker: <https://github.com/datadrivenconstruction/OpenConstructionEstimate-DDC-CWICR>
- Author: Artem Boiko (DataDrivenConstruction)
- Email: boikoartem@gmail.com