utils_is_address_missing: Check is address entry not missing

Description Usage Arguments Value Details

Description

Checks whether or not for each address in the evaluation environment, body and number are filled/not empty.

Usage

1

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.


podcleaner documentation built on Jan. 12, 2022, 1:06 a.m.