Description Usage Arguments Value
This function takes a vector of Census tracts and a year and returns either the relative income of the tract or the income level categorization (i.e., low, moderate, middle, or upper).
1 | assign_lmi(search_tract, year, return_label = TRUE, assign_nonmetro = TRUE)
|
search_tract |
Numeric vector of Census tract codes (11 digits) |
year |
A numeric year (YYYY) |
return_label |
A logical indicating if the income level categorization is to be returned or the relative income (default = TRUE) |
assign_nonmetro |
Should LMI or relative incomes be assigned for non-metropolitan areas (default = TRUE) |
Either the relative income (if return_label == FALSE) or the income level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.