Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
License:
File size: 12,149 Bytes
c1dd408
 
 
 
 
 
 
 
 
 
 
12b966d
c1dd408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12b966d
c1dd408
 
 
12b966d
c1dd408
 
 
 
 
 
 
 
 
 
 
 
 
 
fffc0f4
c1dd408
 
fffc0f4
6362aea
fffc0f4
c1dd408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
887cd71
 
 
 
 
 
c1dd408
 
 
 
 
 
 
 
c557986
c1dd408
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bbed0c8
c1dd408
c557986
c1dd408
 
 
 
 
 
 
 
 
 
 
 
 
 
d7a90cb
 
c1dd408
 
 
 
 
ee9414b
c1dd408
 
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
---
license: cc-by-nc-sa-4.0
language:
- en
- ru
tags:
- finance
- economics
pretty_name: RFSD
size_categories:
- 10M<n<100M
arxiv: 2501.05841
---

# The Russian Financial Statements Database (RFSD)

The Russian Financial Statements Database (RFSD) is an open, harmonized collection of annual unconsolidated financial statements of the universe of Russian firms:

- πŸ”“ First open data set with information on every active firm in Russia.

- πŸ—‚οΈ First open financial statements data set that includes non-filing firms.

- πŸ›οΈ Sourced from two official data providers: the [Rosstat](https://rosstat.gov.ru/opendata/7708234640-7708234640bdboo2018) and the [Federal Tax Service](https://bo.nalog.ru).

- πŸ“… Covers 2011-2023, will be continuously updated.

- πŸ—οΈ Restores as much data as possible through non-invasive data imputation, statement articulation, and harmonization.

The RFSD is hosted on πŸ€— [Hugging Face](https://huggingface.co./datasets/irlspbru/RFSD) and [Zenodo](https://doi.org/10.5281/zenodo.14622209) and is stored in a structured, column-oriented, compressed binary format Apache Parquet with yearly partitioning scheme, enabling end-users to query only variables of interest at scale.

The accompanying paper provides internal and external validation of the data: [http://arxiv.org/abs/2501.05841](http://arxiv.org/abs/2501.05841).

Here we present the instructions for importing the data in R or Python environment. Please consult with the project repository for more information: http://github.com/irlcode/RFSD.

[![Zenodo](http://img.shields.io/badge/DOI-10.5281%20%2F%20zenodo.14622209-blue.svg)](https://doi.org/10.5281/zenodo.14622209) [![arXiv](https://img.shields.io/badge/arXiv-2501.05841-b31b1b.svg)](https://arxiv.org/abs/2501.05841) [![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC_BYβ€”NCβ€”SA_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/) ![R](https://img.shields.io/badge/R-4.0+-blue) ![Python](https://img.shields.io/badge/Python-3.10+-blue.svg) 

## Importing The Data

You have two options to ingest the data: download the `.parquet` files manually from Hugging Face or Zenodo or rely on πŸ€— [Hugging Face Datasets](https://huggingface.co./docs/datasets/en/index) library.

### Python

#### πŸ€— Hugging Face Datasets
It is as easy as:

``` Python
from datasets import load_dataset
import polars as pl

# This line will download 6.6GB+ of all RFSD data and store it in a πŸ€— cache folder
RFSD = load_dataset('irlspbru/RFSD')

# Alternatively, this will download ~540MB with all financial statements for 2023
# to a Polars DataFrame (requires about 8GB of RAM)
RFSD_2023 = pl.read_parquet('hf://datasets/irlspbru/RFSD/RFSD/year=2023/*.parquet')
```

We provide a file in `aux/descriptive_names_dict.csv` in [GitHub repository](https://github.com/irlcode/RFSD) which can be used to change the original names of financial variables to user-friendly ones, e.g. `B_revenue` and `CFo_materials` in lieu of `line_2110` and `line_4121`, respectively. Prefixes are for disambiguation purposes: `B_` stands for balance sheet variables, `PL_` β€” profit and loss statement, `CFi_` and `CFo` β€” cash inflows and cash outflows, etc. (One can find all the variable definitions in the supplementary materials table in the accompanying paper and [consult](https://www.consultant.ru/document/cons_doc_LAW_32453/) the original statement forms used by firms: full is `KND 0710099`, simplified β€” `KND 0710096`.)

``` Python
# Give suggested descriptive names to variables
renaming_df = pl.read_csv('https://raw.githubusercontent.com/irlcode/RFSD/main/aux/descriptive_names_dict.csv')
RFSD = RFSD.rename({item[0]: item[1] for item in zip(renaming_df['original'], renaming_df['descriptive'])})
```

Please note that the data is not shuffled within year, meaning that streaming first __n__ rows will not yield a random sample. 

### R

#### Local File Import

Importing in R requires `arrow` package installed.
``` R
library(arrow)
library(data.table)

# Read RFSD metadata from local file
RFSD <- open_dataset("local/path/to/RFSD")

# Use schema() to glimpse into the data structure and column classes
schema(RFSD)

# Load full dataset into memory
scanner <- Scanner$create(RFSD)
RFSD_full <- as.data.table(scanner$ToTable())

# Load only 2019 data into memory
scan_builder <- RFSD$NewScan()
scan_builder$Filter(Expression$field_ref("year") == 2019)
scanner <- scan_builder$Finish()
RFSD_2019 <- as.data.table(scanner$ToTable())

# Load only revenue for firms in 2019, identified by taxpayer id
scan_builder <- RFSD$NewScan()
scan_builder$Filter(Expression$field_ref("year") == 2019)
scan_builder$Project(cols = c("inn", "line_2110"))
scanner <- scan_builder$Finish()
RFSD_2019_revenue <- as.data.table(scanner$ToTable())

# Give suggested descriptive names to variables
renaming_dt <- fread("local/path/to/descriptive_names_dict.csv")
setnames(RFSD_full, old = renaming_dt$original, new = renaming_dt$descriptive)
```

## Use Cases

- 🌍 For macroeconomists: Replication of a Bank of Russia study of the cost channel of monetary policy in Russia by [Mogiliat et al. (2024)](https://cbr.ru/Content/Document/File/169979/analytic_note_20241114_ddkp.pdf) β€” [`interest_payments.md`](https://github.com/irlcode/RFSD/blob/master/use_cases/interest_payments.md)
- 🏭 For IO: Replication of the total factor productivity estimation by [Kaukin and Zhemkova (2023)](https://doi.org/10.18288/1994-5124-2023-5-68-99) β€” [`tfp.md`](https://github.com/irlcode/RFSD/blob/master/use_cases/tfp.md)
- πŸ—ΊοΈ For economic geographers: A novel model-less house-level GDP spatialization that capitalizes on geocoding of firm addresses β€” [`spatialization.md`](https://github.com/irlcode/RFSD/blob/master/use_cases/spatialization.md)

## FAQ

#### Why should I use this data instead of Interfax's SPARK, Moody's Ruslana, or Kontur's Focus?

To the best of our knowledge, the RFSD is the only open data set with up-to-date financial statements of Russian companies published under a permissive licence. Apart from being free-to-use, the RFSD benefits from data harmonization and error detection procedures unavailable in commercial sources. Finally, the data can be easily ingested in any statistical package with minimal effort.

#### What is the data period?

We provide financials for Russian firms in 2011-2023. We will add the data for 2024 by July, 2025 (see Version and Update Policy below).

#### Why are there no data for firm X in year Y?

Although the RFSD strives to be an all-encompassing database of financial statements, end users will encounter data gaps:

- We do not include financials for firms that we considered ineligible to submit financial statements to the Rosstat/Federal Tax Service by law: financial, religious, or state organizations (state-owned commercial firms are still in the data).

- Eligible firms may enjoy the right not to disclose under certain conditions. For instance, [Gazprom](https://bo.nalog.ru/organizations-card/6622458) did not file in 2022 and we had to impute its 2022 data from 2023 filings. [Sibur](https://bo.nalog.ru/organizations-card/4918019) filed only in 2023, [Novatek](https://bo.nalog.ru/organizations-card/2922171) β€” in 2020 and 2021. Commercial data providers such as Interfax's SPARK enjoy dedicated access to the Federal Tax Service data and therefore are able source this information elsewhere.

- Firm may have submitted its annual statement but, according to the Uniform State Register of Legal Entities (EGRUL), it was not active in this year. We remove those filings.

#### Why is the geolocation of firm X incorrect?

We use Nominatim to geocode structured addresses of incorporation of legal entities from the EGRUL. There may be errors in the original addresses that prevent us from geocoding firms to a particular house. Gazprom, for instance, is geocoded up to a house level in 2014 and 2021-2023, but only at street level for 2015-2020 due to improper handling of the house number by Nominatim. In that case we have fallen back to street-level geocoding. Additionally, streets in different districts of one city may share identical names. We have ignored those problems in our geocoding and [invite](https://github.com/irlcode/rfsd/issues/1) your submissions. Finally, address of incorporation may not correspond with plant locations. For instance, Rosneft [has](https://websbor.rosstat.gov.ru/online/info) 62 field offices in addition to the central office in Moscow. We ignore the location of such offices in our geocoding, but subsidiaries set up as separate legal entities are still geocoded. 

#### Why is the data for firm X different from https://bo.nalog.ru/?

Many firms submit correcting statements after the initial filing. While we have downloaded the data way past the April, 2024 deadline for 2023 filings, firms may have kept submitting the correcting statements. We will capture them in the future releases.

#### Why is the data for firm X unrealistic?

We provide the source data as is, with minimal changes. Consider a relatively unknown [LLC Banknota](https://bo.nalog.ru/organizations-card/12204655). It reported 3.7 trillion rubles in revenue in 2023, or 2% of Russia's GDP. This is obviously an outlier firm with unrealistic financials. We manually reviewed the data and flagged such firms for user consideration (variable `outlier`), keeping the source data intact.

#### Why is the data for groups of companies different from their IFRS statements?

We should stress that we provide unconsolidated financial statements filed according to the Russian accounting standards, meaning that it would be wrong to infer financials for corporate groups with this data. Gazprom, for instance, [had](https://www.e-disclosure.ru/portal/files.aspx?id=934&type=6) over 800 affiliated entities and to study this corporate group in its entirety it is not enough to consider financials of the parent company.

#### Why is the data not in CSV?

The data is provided in Apache Parquet format. This is a structured, column-oriented, compressed binary format allowing for conditional subsetting of columns and rows. In other words, you can easily query financials of companies of interest, keeping only variables of interest in memory, greatly reducing data footprint.

## Version and Update Policy

Version (SemVer): `1.0.0`.

We intend to update the RFSD annualy as the data becomes available, in other words when most of the firms have their statements filed with the Federal Tax Service. The official deadline for filing of previous year statements is April, 1. However, every year a portion of firms either fails to meet the deadline or submits corrections afterwards. Filing continues up to the very end of the year but after the end of April this stream quickly thins out. Nevertheless, there is obviously a trade-off between minimization of data completeness and version availability. We find it a reasonable compromise to query new data in early June, since on average by the end of May 96.7% statements are already filed, including 86.4% of all the correcting filings. We plan to make a new version of RFSD available by July, 2025.

## Licence
<a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />
Creative Commons License Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).

Copyright Β© the respective contributors, as shown by the `AUTHORS` file.

## Citation

Please cite as:
```tex
@unpublished{bondarkov2025rfsd,
  title={{R}ussian {F}inancial {S}tatements {D}atabase},
  author={Bondarkov, Sergey and Ledenev, Victor and Skougarevskiy, Dmitriy},
  note={arXiv preprint arXiv:2501.05841},
  doi={https://doi.org/10.48550/arXiv.2501.05841},
  year={2025}
}
```

## Acknowledgments and Contacts
Data collection and processing: Sergey Bondarkov, [email protected], Viktor Ledenev, [email protected]

Project conception, data validation, and use cases: Dmitriy Skougarevskiy, Ph.D., [email protected]