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

Error from kewr #61

Open
pfrombris opened this issue Dec 19, 2023 · 0 comments
Open

Error from kewr #61

pfrombris opened this issue Dec 19, 2023 · 0 comments

Comments

@pfrombris
Copy link

Hi,

I'm trying to use kewr to match multiple names against IPNI. I have followed the guidance for match_knms regarding submitting a list of names, however, match_krs errors every time. I have tried creating s string of names: ns <- c("Bellis perennis", "Salvia pratensis", "Fagus sylvatica") and using match_krs(ns); this results in: "Error in eval(parse(text = text, keep.source = FALSE), envir): object 'query_length' not found.

What I would like to do, is to be able to read a list of names from a xls and use that list to match against IPNI, with match_krs or search_IPNI. I've tried, using the attached xls (https://github.com/barnabywalker/kewr/files/13713571/xlsx.xlsx), (pseudo code: as.list(read.xlsx(xlsx.xlsx))) but that results in the error: Error in format_query_(query, resource): Query keywords for [krs] must be one of [query, genus, species .....] [X1] are not recognised. I've tried changing the list header to "species", that gives a different error, setting it to null also errors.

I'd be really grateful if you could tell me what I'm doing wrong.

Many thanks

Peter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant