Hi I have a csv file of Names based on male and female managers. Is there some code in R to identify the gender by names? ThanksSaba [[alternative HTML version deleted]]
Hello, I doubt there is, at least a search with package sos didn't show anything usefull. But a google search found https://github.com/KartikTalwar/LeGenderary Maybe you can get inspiration from there and adapt to R code. Rui Barradas Em 01-12-2016 19:40, Saba Sehrish via R-help escreveu:> identify the gender by name
> On 1 Dec 2016, at 22:40, Saba Sehrish via R-help <r-help at r-project.org> wrote: > > Hi > I have a csv file of Names based on male and female managers. Is there some code in R to identify the gender by names? > ThanksSaba >A simple google search gives the what you are after [1]. But I think it works only for English names. Consider this before use. 1- https://cran.r-project.org/web/packages/gender/index.html
On 01/12/2016 2:40 PM, Saba Sehrish via R-help wrote:> Hi > I have a csv file of Names based on male and female managers. Is there some code in R to identify the gender by names?There was a package called genderNames on CRAN for a couple of months, but the maintainer abandoned it. You could recover it from the CRAN archive and see if you can get it to build. Look for it in <https://cran.r-project.org/src/contrib/Archive>. Duncan Murdoch
On Thu, 1 Dec 2016, Saba Sehrish via R-help wrote:> I have a csv file of Names based on male and female managers. Is there > some code in R to identify the gender by names?Saba, Despite the availability of some tools you'll never find a satisfactory answer. Consider Lynn, Alex, Ari, Blaine, Blake, Bobby, etc. Then you'll get others that don't fall into any discrete category. Perhaps a separate column in your CSV file for gender? Rich
> On 1 Dec 2016, at 23:42, Rich Shepard <rshepard at appl-ecosys.com> wrote: > > On Thu, 1 Dec 2016, Saba Sehrish via R-help wrote: > >> I have a csv file of Names based on male and female managers. Is there >> some code in R to identify the gender by names? > > Saba, > > Despite the availability of some tools you'll never find a satisfactory > answer. Consider Lynn, Alex, Ari, Blaine, Blake, Bobby, etc. Then you'll get > others that don't fall into any discrete category. > > Perhaps a separate column in your CSV file for gender? >Rich is right and I don?t think that you have thousands of "managers". Perhaps maximum 100? So, it?s more reasonable to identify the gender manually.