utils_is_address_missing {podcleaner} | R Documentation |
Check is address entry not missing
Description
Checks whether or not for each address in the evaluation environment, body and number are filled/not empty.
Usage
utils_is_address_missing(type)
Arguments
type |
A character string: "house" or "trade", specifying the type of address to check. |
Value
A Boolean vector: TRUE if both number and body are empty.
Details
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
.
[Package podcleaner version 0.1.2 Index]