disambiguate_lga: Disambiguate Synonymous States and LGAs
Description
Some LGAs in Nigeria bear the name of the States to which they belong to.
This function will apply an attribute to such an LGA to distinguish it from
its State.
Usage
disambiguate_lga(lga, state = NULL, ...)
Value
The object of class lgas with the (possibly) modified
State attribute.
Arguments
lga
An object of class lgas of length 1L.
state
The name of the State to which the LGA is to belong to.
For state, if it is not provided by the user, an interactive
prompt will be presented to the user to select the appropriate state - but
only in interactive sessions; if run as a batch command, this function
will signal an error.