This repository now has two replication modes.
Use this mode in the current environment. It does not require the missing legacy backup files.
From the repository root:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\src\reconstruct_public_data.ps1 -Root (Resolve-Path .).Path
This command:
PanelCompleto.reconstructed.csv, CreditType.reconstructed.csv, and EconomicSector.reconstructed.csv;Expected core outputs:
data/processed/PanelCompleto.reconstructed.csvdata/processed/CreditType.reconstructed.csvdata/processed/EconomicSector.reconstructed.csvdata/metadata/source_download_status.csvoutputs/figures/figure_01_*.png through outputs/figures/figure_15_*.pngoutputs/tables/*.csvoutputs/models/model_results.csvdashboard/index.htmlreport/financial_development_report.htmlreport/executive_report.htmlUse this mode only if the original historical files are restored.
Place raw or cleaned data in data/raw/, Data/, Data.ES/, or the legacy subfolders using names such as:
PanelCompleto.final.csv or PanelCompleto.final.xlsxCreditType.final.csv or CreditType.final.xlsxEconomicSector.final.csv or EconomicSector.final.xlsxIPC.xlsxold_tc*.csv, old_*.xls, FinancialSystemBolivia.xlsxThen install R 4.2 or newer, Quarto, and the packages listed in requirements.txt, and run:
source("src/99_run_all.R")
or:
source("replication/run_project.R")
The current reconstructed dashboard is static and can be opened directly:
dashboard/index.html
The Shiny scaffold remains available for an R-enabled environment:
shiny::runApp("dashboard")
The reconstructed outputs use real official public data. CreditType.reconstructed and EconomicSector.reconstructed are annual official equivalents, not the exact lost monthly product-credit and sector-credit panels. This limitation is documented in docs/DATA_RECONSTRUCTION_LOG.md and data/metadata/source_download_status.csv.