Datasets:
Rename aux -> aux_data
Browse filesThis is to ensure compatibility with MS DOS file naming requirements (https://learn.microsoft.com/en-ca/windows/win32/fileio/naming-a-file).
README.md
CHANGED
|
@@ -59,11 +59,11 @@ RFSD = load_dataset('irlspbru/RFSD')
|
|
| 59 |
RFSD_2023 = pl.read_parquet('hf://datasets/irlspbru/RFSD/RFSD/year=2023/*.parquet')
|
| 60 |
```
|
| 61 |
|
| 62 |
-
We provide a file in `
|
| 63 |
|
| 64 |
``` Python
|
| 65 |
# Give suggested descriptive names to variables
|
| 66 |
-
renaming_df = pl.read_csv('https://raw.githubusercontent.com/irlcode/RFSD/main/
|
| 67 |
RFSD = RFSD.rename({item[0]: item[1] for item in zip(renaming_df['original'], renaming_df['descriptive'])})
|
| 68 |
```
|
| 69 |
|
|
|
|
| 59 |
RFSD_2023 = pl.read_parquet('hf://datasets/irlspbru/RFSD/RFSD/year=2023/*.parquet')
|
| 60 |
```
|
| 61 |
|
| 62 |
+
We provide a file in `aux_data/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`.)
|
| 63 |
|
| 64 |
``` Python
|
| 65 |
# Give suggested descriptive names to variables
|
| 66 |
+
renaming_df = pl.read_csv('https://raw.githubusercontent.com/irlcode/RFSD/main/aux_data/descriptive_names_dict.csv')
|
| 67 |
RFSD = RFSD.rename({item[0]: item[1] for item in zip(renaming_df['original'], renaming_df['descriptive'])})
|
| 68 |
```
|
| 69 |
|