Skip to contents

Create fake person names

Usage

ch_name(n = 1, locale = NULL, messy = FALSE)

Arguments

n

(integer) number of things to get, any non-negative integer

locale

(character) the locale to use. See PersonProvider$new()$allowed_locales() for locales supported (default: en_US)

messy

(logical) make some messy data. Default: FALSE

Examples

ch_name()
#> [1] "Krystal Stracke"
ch_name(10)
#>  [1] "Dakota Cormier"          "Martha Konopelski"      
#>  [3] "Katherin Murphy"         "Dayle Yundt"            
#>  [5] "Kelsey Feil"             "Illya Anderson"         
#>  [7] "Jory McKenzie-Considine" "Dr. Kaiden Pouros DDS"  
#>  [9] "Helaine Lang-Fritsch"    "Donovan Emard"          
# or even ch_name(500)

ch_name(locale = "fr_FR", n = 10)
#>  [1] "René L'Renaud"            "Raymond Fléury"          
#>  [3] "Alexandrie Bréton"        "Jacqueline-Anne Rénard"  
#>  [5] "Monique Merciér L'Cousin" "Nath Coste"              
#>  [7] "Olivier Bértrand"         "Thérèse Barbiér"         
#>  [9] "Claude Buisson"           "Océane Mathiéu"          
ch_name(locale = "fr_CH", n = 10)
#>  [1] "Loïc Cretton"         "Thomas Matile"        "Marguerite Gillièron"
#>  [4] "Lucas Chevalley"      "José Diesbach"        "Bernard Muriset"     
#>  [7] "Manon Chevalley"      "Camille Cornuz"       "Romain Morand"       
#> [10] "Sarah Robadey"       
ch_name(locale = "fa_IR", n = 10)
#>  [1] "آراد محجوب"          "آراد شادروان"        "علی اصغر عبدالمالکی"
#>  [4] "زهرا ترکاشوند"       "محمدعلي الوندی"      "محمدحسین نوروزی"    
#>  [7] "رضا صیادی"           "رها الوندی"          "ايليا موحد"         
#> [10] "یلدا گلپایگانی"     
ch_name(locale = "fi_FI", n = 10)
#>  [1] "Tuija Nummi"           "Mikko Nuutinen"        "Sirviö, Rauno"        
#>  [4] "Tiia Mäki"             "Kustaava Ylisuvanto"   "Pirkko-Liisa Tikkanen"
#>  [7] "Benjam Soinio"         "Ville Voutilainen"     "Kuusisto, Essi"       
#> [10] "Väätäinen, Virve"