.format_playlist_weights: Generate playlist_year_weight section in the appropriate format.
Description
Generate playlist_year_weight section in the appropriate format.
Usage
.format_playlist_weights(weights, api_mode)
Value
The playlist_year_weight section formatted.
Arguments
- weights
data.table, 2 columns : mcYears and weights. Only with after antares V8
- api_mode
Boolean to identify an api study