ropensci / gendercoder

Creating R package to code free text gender responses
https://docs.ropensci.org/gendercoder/
Other
46 stars 12 forks source link

Adopt NSE in recode_gender.R #27

Closed Lingtax closed 3 years ago

Lingtax commented 3 years ago

recode_gender.R contains a chunk of base that exists only because I don't understand NSE and didn't know how to do this better.

  x.name <- deparse(substitute(gender))
  dictionary.name <- deparse(substitute(dictionary))

I'm pretty confident this is not the ideal way to do bare strings. Even if someone can point me at the right documentation I'll make this change myself.

Lingtax commented 3 years ago

As a demonstration of my ignorance, I might mean tidyeval

Lingtax commented 3 years ago

https://mariadermit.netlify.app/2021-02-11-tidyeval-actions/