Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'd like to integrate the name alignment tool into my R script #142

Open
jhpoelen opened this issue Jan 20, 2023 · 3 comments
Open

I'd like to integrate the name alignment tool into my R script #142

jhpoelen opened this issue Jan 20, 2023 · 3 comments
Labels
discussion issue that contains design discussion

Comments

@jhpoelen
Copy link
Member

jhpoelen commented Jan 20, 2023

I used R to do analysis and have to align names as part of it.

Currently, my workflow is semi-automated.

First, I get some names through R (e.g., download the entire GloBI dataset, do filtering on names (e.g., replacement etc) to compile a list of names to be aligned).

Then I load a csv file into the name alignment tool

then, I take the results and copy them into my R script.

Desired:

I'd like to figure out way to make it easier to "call" the name alignment tool automatically from R, without any manual steps.

@jhpoelen
Copy link
Member Author

@seltmann suggests the install nomer tool locally and call it from R using some kind of helper script. I know I can call command-line from R. I don't know much about how to do that.

@jhpoelen (via Brave search engine with "command line from R" ), found a possible starting point at https://stat.ethz.ch/R-manual/R-devel/library/base/html/system.html .

@jhpoelen
Copy link
Member Author

@seltmann suggests to come up with one example of how to call Nomer from R.

@jhpoelen
Copy link
Member Author

jhpoelen commented Jan 20, 2023

@jhpoelen ask: Perhaps use https://github.com/cboettig/taxalight or https://github.com/cboettig/taxadb .

Also, a Nomer wrapper for python - https://github.com/nleguillarme/pynomer . might inspire ideas for for creating an R wrapper for Nomer.

@jhpoelen jhpoelen added the discussion issue that contains design discussion label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion issue that contains design discussion
Projects
None yet
Development

No branches or pull requests

1 participant