Description Usage Arguments Details Value See Also Examples
This function takes a character vector input and parses through the SMIF Asset Allocation
sectors
dataset and attempts to coerce the input into a sector compliant with SMIF AA
sector formatting guidelines.
1 | cleanSector(sector, verbose = getOption("verbose", FALSE))
|
sector |
Character; string to be transformed into a uniform sector |
verbose |
Logical; whether the function should throw messages. Defaults to getOption("verbose") |
If sector cannot be retrieved from NASDAQ or cannot be coerced, returns "Other"
Character; string representation of a sector
Other data cleaning functions: cleanAccount
,
cleanIP
, cleanIndex
1 | cleanSector("Consumer Non-Durables")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.