wpa icon indicating copy to clipboard operation
wpa copied to clipboard

Metric name conversion from non-English to English

Open Yuitksm opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Workplace Analytics support some non-English languages. It would be great if there is function to convert non-English metric names into English so that I do not have to rerun query in English.

Describe the solution you'd like When I run a function with a dataset with header names in a non-English language, it will output a copy of the dataset with English headers. Execution suggestion: converstion table + mutate()

Describe alternatives you've considered Auto detection without changing the data.

Additional context none

Yuitksm avatar Jun 24 '21 07:06 Yuitksm

Thanks @Yuitksm! It would be great to find a scalable solution to this, because (1) metric translations may change over time and (2) the metric names may also themselves change over time. We can perhaps introduce a look-up function that will allow the user to easily replace metric names, but it might be better if the user can supply their own look-up table (so that the translation table is not maintained within the package itself). What do you think about this solution?

martinctc avatar Jun 25 '21 10:06 martinctc

I really like this idea!

moralec avatar Jul 01 '21 15:07 moralec