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
My code of query_xc didn't work recently (R 4.3.2 running in RStudio 2023.12.0 Build 369, warbleR 1.1.29):
malesong <- query_xc(qword = "type:song type:male q_gt:C len_gt:30", download = FALSE)
Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match
Hi Marcelo
My code of
query_xc
didn't work recently (R 4.3.2 running in RStudio 2023.12.0 Build 369, warbleR 1.1.29):I noticed that the format of api query had been updated in 2023 (see https://xeno-canto.org/explore/api, https://xeno-canto.org/help/search). Now the connector of query is "+" instead of "&" and "%20", and use ">" instead of "_gt" to constrict the range of tags.
I tried to write the query with new format (add "+" manually) , it seemed to work:
It looks like the code to add connectors in
query_xc
are out of operation. Also they didn't work when using multi-threading.Additionally xeno-canto has added some tags like "Sex" and "Recording method". The export table seems out of order because of their existence.
My manual query works well temporarily, but maybe the code of query_xc should be updated to fit the change of database for the further convinient use.
Thinks and looking for your response!
The text was updated successfully, but these errors were encountered: