Skip to contents

Generate the a random set of 10 suggested neutral(by default) baby names based on the given time period and sex.

Usage

find_old_name(tp, limit = 10, sex = "uni", seed = NULL)

Arguments

tp

A character vector that specifying time period from 1880 to 2018

limit

A double vector that is the number of name in the output list. Default 10

sex

A character vector that is the aimed sex of the name in the output. Default "uni"

seed

A seed for generating same output. Default NULL

Value

A list contains random suggested old names based on the given limitation.

Examples

find_old_name('1980s')
#>  [1] "Javan"   "Holly"   "Shi"     "Aurora"  "Reyes"   "Sahar"   "Ramsay" 
#>  [8] "Nancy"   "Spenser" "Danna"