Converts an AUM (Assets Under Management) string (e.g., "GBP 100,642 m") into structured components.
Arguments
- aum_text
Character vector. The AUM string(s) to parse.
Value
A tibble with columns: currency (factor), aum_amount (numeric), aum_units (factor), aum_units_amount (numeric).
Examples
parse_aum("GBP 100,642 m")
#> # A tibble: 1 × 5
#> currency aum_units aum_amount aum_units_amount total_amount
#> <fct> <fct> <dbl> <dbl> <dbl>
#> 1 GBP m 100642 1000000 100642000000