Replaces the fields names with the given ones

setFieldNames(dataset, names)

Arguments

dataset

the dataset you want to update names

names

list of the old and new names formatted like that : list('old_name1'='new_name1', 'old_name2'='new_name2', ...)

See also

Other Data formatting: castDATETIMEToTime, castDATEToTime, castStringToNum, castTIMEToTime