Provides built-in sample datasets for running examples and tests without requiring external data.
Usage
dk_sample_data(country = c("sample", "high_debt"))Value
A list with components:
- years
Integer vector of years.
- debt
Numeric vector of debt-to-GDP ratios.
- interest_rate
Numeric vector of effective interest rates on government debt.
- gdp_growth
Numeric vector of nominal GDP growth rates.
- primary_balance
Numeric vector of primary balance-to-GDP ratios (positive = surplus).