Parameters shouldn't be harcoded, it's better to put them in a datatable (on SWS) so that they are always easily accessible. See for instance: https://github.com/SWS-Methodology/faoswsProduction/blob/50a8b4c13346f2cb8125c84a85a952bdcc4cad2f/modules/outlierDetectionProd/main.R#L150