You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: