Welcome to ClientVPS Mirrors

README

placematchr: Robust City Normalization and NUTS Matching for Europe

placematchr is an R package designed to normalize city names and map them to standard NUTS 3 and LAU (Local Administrative Units) codes across 32 European countries.

It is widely used to harmonize messy geographical data (survey responses, address lists) with official regional identifiers for analysis.

Key Features

Usage

Basic Matching

library(placematchr)

# Match a single city in Germany
match_city("Munich", country = "DE")
# Returns data frame with NUTS_ID: DE212, Name: München, Landeshauptstadt

# Match a list of cities in Italy
cities <- c("Rome", "Milan", "Naples", "Venice")
match_city(cities, country = "IT")

Handling Suburbs and Variations

# Input: "Garching b. München" (Suburb)
# Result: The suffix "b. München" is stripped. The base name "Garching" is matched against LAUs.
# Final Match: "Garching" (LAU). Mapped to Munich District (NUTS 3: DE21H), *not* Munich City (DE212).
match_city("Garching b. München", country = "DE")

# Input: "Champs-sur-Marne" (French Suburb)
# Result: Matches "Champs" (LAU).
match_city("Champs-sur-Marne", country = "FR")

Supported Countries

BE, BG, CZ, DK, DE, EE, IE, EL, ES, FR, HR, IT, CY, LV, LT, LU, HU, MT, NL, AT, PL, PT, RO, SI, SK, FI, SE, LI, NO, CH, MK, TR, UK.

License

MIT

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.