Skip to contents

This function identifies common surname particles (e.g., Van, De, Von) that typically appear in compound or locative surnames (e.g., Van Dyke, De La Rosa) and merges them with the following word using a dash (e.g., Van-Dyke, De-La-Rosa).

Usage

fix_locative_surnames(
  x,
  particles = c("LA", "VON", "VAN", "VANDER", "DEL", "DE", "DI", "DEN", "DER", "O"),
  inner_particles = .inner_particles
)

Arguments

x

A character vector of full names.

particles

A character vector of common surname particles to merge with the following word. Matching is case-insensitive. MC is not a default particle: prep_name() joins a split MC surname without a dash (MC CORMICK -> MCCORMICK, see join_mc()), and a leading or trailing MC is initials or a credential (Medical Corps).

inner_particles

Particles that are joined only when they are not the first word and the next word is not a title or suffix: PATRICIA SAN PEDRO -> SAN-PEDRO, KATRINA VANDEN HEUVEL -> VANDEN-HEUVEL, ESTELLA DE LOS RIOS -> DE-LOS-RIOS. Some of them are also given names or words (SANTA, TEN), so they never join from the start of a name.

Value

A character vector of names with compound surnames corrected by inserting dashes between the particle and the following surname component.

Details

These particles, known as nobiliary particles or locative prefixes, often denote origin or family lineage and are part of many compound surnames in European languages.

See also

For background on surname particles and compound surnames, see Wikipedia: Nobiliary particle.

Examples

names <- c(
  "Jane Van Dyke",
  "Bob VAN DERVAL",
  "Mary von Diesel",
  "Carlos De La Rosa",
  "VAN CLIBURN",
  "Dylan Van"
)

fix_locative_surnames(names)
#> [1] "Jane Van-Dyke"     "Bob VAN-DERVAL"    "Mary von-Diesel"  
#> [4] "Carlos De-La-Rosa" "VAN-CLIBURN"       "Dylan Van"        
#> [1] "Jane Van-Dyke"     "Bob VAN-DERVAL"     "Mary von-Diesel"
#> [4] "Carlos De-La-Rosa" "VAN-CLIBURN"        "Dylan Van"