currency_to_numeric {priceR} | R Documentation |
Convert human readable currencies into numeric data
Description
Convert human readable currencies into numeric data
Usage
currency_to_numeric(currency_text)
Arguments
currency_text |
Price or vector of prices |
Value
A numeric vector
Examples
library(dplyr)
c("$134,345.05", "£22", "¥30000") %>% currency_to_numeric()
# [1] 134345 22 30000
[Package priceR version 1.0.1 Index]