Vector which contains the codes or names
to be converted.
origin
The following options are available:
ags: AGS (default).
name: Bundesland name.
destination
The following options are available:
ags: Bundesland AGS (default).
iso: The Bundesland two-character abbreviation.
name: Bundesland name.
name_eng: Bundesland name in English.
factor
If TRUE returns ordered factor.
Details
This function converts a string of Bundesland names into
the AGS, the standardized (English) name, or the Bundesland abbreviation.
If origin="AGS", the first two digits will be used to identify
a Bundesland. It is therefore important that sourcevar is supplied
as a character vector with a leading zeros if applicable.