Returns a vector of names for the accounts passed as the argument.

account_name(account)

Arguments

account

The account object.

Value

A string holding the account's name

Examples

account("TEST01AA") %>% account_name()
#> [1] "Test 1"
account("TEST01AA", "TEST02AA") %>% account_name()
#> [1] "Test 1" "Test 2 — Best Account"