maRce10 / warbleR

streamline acoustic analysis in R
https://marce10.github.io/warbleR/
GNU General Public License v3.0
52 stars 21 forks source link

Using warbleR to download #15

Closed dododave closed 6 years ago

dododave commented 7 years ago

Hi Macelo,

Is it possible to use warbleR to download an entire set of recordings I have made in xeno-canto? I have been able to this using your handy package for all the recordings of a certain genus or other XC descriptors such as location or country, but what about sets?

Thanks, David Bradley

maRce10 commented 6 years ago

Hi David

sorry for the late response. I am not sure what you mean with set of recordings, but note that you can use the "XC advance query" to do more specific queries. For instance, this will search for all of my recordings: mas.recs <- querxc(qword = 'rec:"Marcelo Araya-Salas"')

these are other examples (which are included in the function documentation):

genus orthonyx from Tari Papua orth.pap <- querxc(qword = 'gen:orthonyx cnt:papua loc:tari', download = FALSE)

use quotes for queries with more than 1 word (e.g. Costa Rica),note that the single quotes are used for the whole 'qword' and double quotes for the 2-word term inside

Phaeochroa genus in Costa Rica phae.cr <- querxc(qword = 'gen:phaeochroa cnt:"costa rica"', download = FALSE)

several terms can be searched for in the same field search for all female songs in sound type femsong <- querxc(qword = 'type:song type:female', download = FALSE)