devtools::install_github("Steensson/gendeR")
Get the gender my specifying a forname
gendeR::get_gender(name = "Sebastian")
#> name gender probability count
#> 1 Sebastian male 1 1459
Get the gender my specifying a forname and a ISO 3166-1 alpha-2 country code
gendeR::get_gender(name = "Sebastian", country_id = "DK")
#> name gender probability count
#> 1 Sebastian male 1 13
Google it or use the df_iso from the package
head(gendeR::df_iso)
#> country_id country_name
#> 1 AD Andorra
#> 2 AE United Arab Emirates
#> 3 AF Afghanistan
#> 4 AG Antigua and Barbuda
#> 5 AI Anguilla
#> 6 AL Albania
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.