Gt: `fmt_currency()` should have the option to do foreign exchange conversions

Created on 27 Nov 2019  Â·  1Comment  Â·  Source: rstudio/gt

I was expecting that fmt_currency function would do a literal currency conversion. I noticed that this function would just add the respective country currency symbol to currency column but still keep the same number.

It would be nice to have this feature added if possible

for ex:
check the snapshots below. Using euro and USD as currency options, the numbers in the table are same except that the currency symbol is changed

currency_USD
Currency_europe

[3] Advanced [3] High [2] Medium ★ Enhancement

Most helpful comment

This would be pretty interesting. I suppose that these conversions would have to be tied to some sort of date or datetime (from a column or manually specified) or range of dates (for averaging).

>All comments

This would be pretty interesting. I suppose that these conversions would have to be tied to some sort of date or datetime (from a column or manually specified) or range of dates (for averaging).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jestarr picture jestarr  Â·  3Comments

higgi13425 picture higgi13425  Â·  3Comments

vikram-rawat picture vikram-rawat  Â·  3Comments

steveputman picture steveputman  Â·  3Comments

tbradley1013 picture tbradley1013  Â·  3Comments