get_name_stats: internal function to the package to get stats about a single...

Description Usage Arguments Value Examples

Description

internal function to the package to get stats about a single firstName

Usage

1
get_name_stats(firstName, gender = TRUE, region = TRUE, ageRange = TRUE)

Arguments

firstName

a first name in non-capital letters

gender

(optional) the gender, if known

region

(optional) the region, if known

ageRange

(optional) the ageRange, if known

Value

singe line data frame with statistics about the first name

Examples

1
2
3
4
5
6
7
8
## Not run: 
get_name_stats("jean")
get_name_stats("jean", gender="male")
get_name_stats("sabrina", gender="female")
get_name_stats("jean", gender="male", region="bruxelles")
get_name_stats("jean", gender="male", region="bruxelles", ageRange="above64")
 
## End(Not run))

nassimhaddad/firstnamesbe documentation built on May 23, 2019, 12:18 p.m.