currency_to_numeric | R Documentation |
Convert human readable currencies into numeric data
currency_to_numeric(currency_text)
currency_text |
Price or vector of prices |
A numeric vector
library(dplyr)
c("$134,345.05", "£22", "¥30000") %>% currency_to_numeric()
# [1] 134345 22 30000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.