Hello,
According to the documentation,
This function predicts the gender of a first name given a year or range
of years in which the person was born.
and your data does not include first names, only names in a form similar
to Last First_name_initial.
This function/package is not appropriate for your problem.
Hope this helps,
Rui Barradas
?s 17:59 de 01/08/21, bharat rawlley via R-help
escreveu:> Hello,
> when using the following code -
> gender_df(Test1, name_col = "First", year_col = "Year")
>
> for the file attached below, I get the following result -
> # A tibble: 0 x 6# ... with 6 variables: name <chr>, proportion_male
<dbl>, proportion_female <dbl>, gender <lgl>,#? ?year_min
<dbl>, year_max <dbl>
>
>
>
>
>
>
> | First | | Year |
> | Post R | | 2012 |
> | Kotulska K | 2012 |
> | Zi W | | 2012 |
> | Suzuki K | | 2012 |
> | Lynch DR | | 2012 |
> | Paganoni S | 2012 |
> | Nourbakhsh B | 2012 |
> | Croop R | | 2012 |
> | Bril V | | 2012 |
> | Tan AH | | 2012 |
> | Benedict RHB | 2012 |
> | Langeskov-Christensen M | 2012 |
> | Chiaravalloti ND | 2012 |
> | Zhang Y | | 2012 |
> | Bovis F | | 2012 |
> | Soul JS | | 2012 |
> | Mantegazza R | 2012 |
> | Heatwole C | 2012 |
> | Molhemi F | 2012 |
> | Aggarwal R | 2012 |
> | Chung JW | | 2012 |
> | Obermann M | 2012 |
> | Albert V | | 2012 |
> | Picillo M | | 2012 |
> | Palace J | | 2012 |
> | Bogan RK | | 2012 |
> | Shoamanesh A | 2012 |
> | Jaeckle KA | 2012 |
> | Sakamoto S | 2012 |
> | Barohn RJ | | 2012 |
> | Fehlings MG | 2012 |
> | Barbieri F | | 2012 |
> | Klopstock T | 2012 |
> | Martin AK | | 2012 |
> | Griffith R | | 2012 |
> | Maas RPPWM | 2012 |
> | Santhosh AP | 2012 |
> | Macdonald-Laurs E | 2012 |
> | Guinchard M | 2012 |
> | Luijten SPR | 2012 |
> | Pagan FL | | 2012 |
> | Takeda A | | 2012 |
> | Shin YW | | 2012 |
> | DeLuca J | | 2012 |
> | Zhong F | | 2012 |
> | Toyoda K | | 2012 |
> | Song J | | 2012 |
> | Pan Y | | 2012 |
> | Molloy EN | 2012 |
> | Heit JJ | | 2012 |
> | Bird LM | | 2012 |
> | Wu X | | 2012 |
> | Naismith RT | 2012 |
> | Yaghi S | | 2012 |
> | Tekeoglu Tosun A | 2012 |
> | Vieira-Yano B | 2012 |
> | Malt?te D | | 2012 |
> | Gillving M | | 2012 |
> | Sylaja PN | | 2012 |
> | Sawada H | | 2012 |
> | van Dalen JW | 2012 |
> | Meador KJ | 2012 |
> | Cheshmavar M | 2012 |
> | Liu MN | | 2012 |
> | Paprad T | | 2012 |
> | Hogue CW | 2012 |
> | Filipovi? TN | 2012 |
> | Weiss MD | | 2012 |
> | Bril V | | 2012 |
> | Ishigooka J | 2012 |
> | Zhao J | | 2012 |
> | Christensen CE | 2012 |
> | Zhang P | | 2012 |
> | Ford JH | | 2012 |
> | Ter Meulen BC | 2012 |
> | Giannoni A | 2012 |
> | Kuester-Gruber S | 2012 |
> | Kumar A | | 2012 |
> | Dominiak M | 2012 |
> | Mintun MA | 2012 |
> | Guttuso T Jr | 2012 |
> | Al-Karagholi MA | 2012 |
> | De Icco R | | 2012 |
> | Akhbari Ziegler S | 2012 |
> | Hirata K | | 2012 |
> | Schreiner L | 2012 |
> | Xiao M | | 2012 |
> | Younis S | | 2012 |
> | Kazemi Z | | 2012 |
> | Johnstone A | 2012 |
> | Amatachaya S | 2012 |
> | Toyoda K | | 2012 |
> | Fageera W | 2012 |
> | Rahn AC | | 2012 |
> | Geed S | | 2012 |
> | El-Hagrassy M | 2012 |
> | Cheng C | | 2012 |
> | Kashimura M | 2012 |
> | Halakoo S | | 2012 |
> | He W | | 2012 |
> | Deng Y | | 2012 |
> | Gong Y | | 2012 |
> | Vahlberg B | 2012 |
> | Bazi A | | 2012 |
> | Hulbert S | | 2012 |
> | Bock JM | | 2012 |
> | Lin CH | | 2012 |
> | Voldsbekk I | 2012 |
> | Langezaal LCM | 2012 |
> | Araujo TG | | 2012 |
> | Krynicki CR | 2012 |
> | Jakobsen G | 2012 |
> | Sadlonova M | 2012 |
> | Tariot PN | | 2012 |
> | Lindsay C | | 2012 |
> | Altomare D | 2012 |
> | Haendel AD | 2012 |
> | Yang R | | 2012 |
> | Quintero-Consuegra MD | 2012 |
> | Talbot LA | | 2012 |
> | Broberg L | | 2012 |
> | Soto-Perez-de-Celis E | 2012 |
> | Aguilar-Ferr?ndiz ME | 2012 |
> | Cintoli S | | 2012 |
> | Misra UK | | 2012 |
> | Abdullahi SU | 2012 |
> | Vukas H | | 2012 |
> | Zhang L | | 2012 |
> | Friedman BW | 2012 |
> | Rao B | | 2012 |
> | De Doncker W | 2012 |
> | de Almeida CMO | 2012 |
> | Hartmann S | 2012 |
> | Bouhassira D | 2012 |
> | Ord AS | | 2012 |
> | Wiberg S | | 2012 |
> | Aalaei S | | 2012 |
> | Salehi Dehno N | 2012 |
> | Suppan M | | 2012 |
> | Sindi S | | 2012 |
> | Lebares CC | 2012 |
> | Sonoda Y | | 2012 |
> | Kortela E | | 2012 |
> | Nelson SE | | 2012 |
> | Dominiak M | 2012 |
> | Chen Y | | 2012 |
> | Chen Q | | 2012 |
> | Silberstein SD | 2012 |
> | Imamura H | 2012 |
> | Moeschler SM | 2012 |
> | Geerts M | | 2012 |
> | Wei W | | 2012 |
> | Reid KJ | | 2012 |
> | Hou Y | | 2012 |
> | Zhou Z | | 2012 |
> | Acsadi G | | 2012 |
> | Sterman-Neto H | 2012 |
> | Dankiewicz J | 2012 |
> | Malavera A | 2012 |
> | Rosenberg A | 2012 |
> | Asano M | | 2012 |
> | Pett SL | | 2012 |
> | Amato AA | | 2012 |
> | Wouters A | 2012 |
> | Phillips MCL | 2012 |
> | Mihara M | | 2012 |
> | Kitzman DW | 2012 |
> | Chwojnicki K | 2012 |
> | Rascol O | | 2012 |
> | Engelter ST | 2012 |
> | Taylor PN | | 2012 |
> | Weafer J | | 2012 |
> | Fox RS | | 2012 |
> | Braathen G | 2012 |
> | Mahmud R | 2012 |
> | Vidoni ED | | 2012 |
> | Zecca C | | 2012 |
> | Haghighi S | 2012 |
> | Sandebring-Matton A | 2012 |
> | Koh SH | | 2012 |
> | Joosten SA | 2012 |
> | Stefani A | | 2012 |
> | Park H | | 2012 |
> | Ali EN | | 2012 |
> | Gudbergsen H | 2012 |
> | Moon SY | | 2012 |
> | Bleich-Cohen M | 2012 |
> | Wayne PM | 2012 |
> | Essmat A | | 2012 |
> | Walgaard C | 2012 |
> | Kim HJ | | 2012 |
> | Moncrief GG | 2012 |
> | Singh N | | 2012 |
> | Macchi ZA | 2012 |
> | Mirpuri P | | 2012 |
> | Rosenthal ES | 2012 |
> | Kong Z | | 2012 |
> | Kaarb? MB | 2012 |
> | Xiao S | | 2012 |
> | Cheng HR | | 2012 |
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>