Learn R Programming

KOR.addrlink (version 1.0.1)

split_address: Split Adresses Into Street, House Number And Additional Letter

Description

This function takes a character vector where each element is made up from a concatenation of street name, house number and possibly an additional letter and splits it into its parts.

Usage

split_address(x, debug = FALSE)

Value

A data.frame with three columns

Strasse

A character column containing the extracted street names

Hausnummer

House number

Hausnummernzusatz

Additional letter

Arguments

x

A character vector

debug

If true, all records will be printed to the console

Author

Daniel Schürmann

Details

If the function fails, consider using debug = TRUE. This will print the record, which caused the error. Consider filing an issue on the linked git project (see DESCRIPTION).

See Also

split_number

Examples

Run this code
split_address(c("Teststr. 8-9 a", "Erster Weg 1-2", "Ahornallee 100a-102c"))

Run the code above in your browser using DataLab