View source: R/converter-household.R
household | R Documentation |
The display
function has a built-in option to household, so
you will usually not need to use this function. Other use-cases are best
solved with married_to
.
household(...)
... |
one or more existing discoveryengine definition(s), and/or individual entity id(s) |
Will return just the primary ID for a household, instead of both spouses. Note that it will not household additional parts of the definition that are added after the 'household' command (see examples).
married_to
is_wealthy = has_capacity(1:7)
is_wealthy_hh = household(is_wealthy)
## this will NOT household the additional part of the definition
is_wealthy_hh %or% lives_in_msa(san_francisco)
## better to get everything together, then household:
household(is_wealthy %or% lives_in_msa(san_francisco))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.