parse_income_range | R Documentation |
parse_income_range extracts dollar figures from income bucket ranges used in Census data and elsewhere
income_range |
a character vector containing income ranges, e.g.
|
limit |
either "lower" (the default) and "upper" bounds of the range, or "mid" to return the mid-point |
max_income |
numeric value of 'and over' value of the highest bracket. |
is_zero |
a character vector of values to be interpreted as zero. Defaults to |
negative_as_zero |
a boolean value. If TRUE (the default) the character |
dollar_prefix |
a character string to denote the dollar delimiter.
|
.silent |
a boolean value. If FALSE (the default), the function will warn that |
.print_lookup |
If TRUE prints lookup table displaying inputted income range and the returned parsed value. |
a numeric vector of incomes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.