I\'m trying to assign extra variables to an existing dataset "ds" using a function which takes the dataset as argument and should return the adjusted dataset as we