Checks whether or not for each address in the evaluation environment, body and number are filled/not empty.
utils_is_address_missing(type)A character string: "house" or "trade", specifying the type of address to check.
A Boolean vector: TRUE if both number and body are empty.
The function is for primarily use in the
utils_label_address_if_missing function called by
utils_label_missing_addresses where it provides a filtering
vector used for labelling missing addresses. utils_is_address_missing creates
an expression and further evaluates it two levels up in the environment tree,
in other words in the directory dataframe eventually passed down to
utils_label_missing_addresses.