Closed realxinzhao closed 3 months ago
Thanks @realxinzhao, but keeping this as an open issue does not really make sense. If you want to keep this code snippet in this repository, I suggest to start a PR for a new folder "R-utils" with this script (and sufficient documentation).
Sounds good. Thanks, @danielhuppmann
@danielhuppmann @FlorianLeblancDr @flohump
I wrote a function to convert dataframe in r to yaml files. Please spread the word, in case useful.
To apply it to a dataframe with variables of "Variable", "Description", "Unit", "Tier" (integer) and save a yaml file: