to_number | R Documentation |
Allows you to translate to integer numerical words spelled in spanish. Text must be previously cleaned & removed extraneous words or symbols Quantities MUST be written in a correct Spanish (this is not a grammar tool) The upper limit is up to the millions range. Cents must be removed.
x |
A spanish spelled number. |
to_number("mil trescientos noventa y dos")
# Example table is provided: cantidades
cantidades$var3 <- lapply(cantidades$var2, to_number)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.