Description Usage Arguments Details Value Note
View source: R/module-helpers.R
Replace text descriptions of years in exogenous input CSVs with numerical values. This allows model time periods to be modified without requiring similar modifications in many input CSV tables.
1 |
data |
Tibble with text descriptions of model time periods to be replaced with numerical values. |
Text strings include start-year
, final-calibration-year
, final-historical-year
,
initial-future-year
, initial-nonhistorical-year
, and end-year
.
Modified tibble with 'numerical' values instead of text.
The returned 'numerical' values are actually characters; this helper function doesn't touch column types.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.