Generate fake English town names
A function for creating fake English, Irish, and German town names.
# install.packages("devtools")
devtools::install_github("sbha/englishtowns")
The default is to generate an English town:
library(englishtowns)
generate_town()
#> Greathamrough
Setting the country argument to ‘Ireland’ will generate an Irish name:
generate_town(country = 'Ireland')
#> Ballyalliagh
Setting the country argument to ‘Germany’ will generate a German name:
generate_town(country = 'Germany')
#> Neustaberheim
Maybe you can do something fun with it:
paste0('I was born in ',
generate_town(),
', England, went to university in ',
generate_town('Ireland'),
', Ireland, and now live in ',
generate_town('Germany'),
', Germany.')
#> "I was born in Easthippingford, England, went to university in Balliallymore, Ireland, and now live in Neustadtstahausen, Germany."
English towns: Wikipedia
Irish towns: Wikipedia
German towns: Wikipedia