ropensci / rredlist

IUCN Red List API Client
https://docs.ropensci.org/rredlist
Other
50 stars 15 forks source link

r1_comp_groups download for 'birds' does not work #40

Closed bgerstner90 closed 4 years ago

bgerstner90 commented 4 years ago

I have been having some issues when trying to download the comprehensive list of species in the 'birds' group. The code I am using works for mammals, but for some reason, I am unable to do this for birds. 

This is the code that I am using in R:

all_mammals <-rl_comp_groups(group = c('mammals'), key = token) # token is my IUCN key. This code works and returns a list of all species in the group 'mammal'.
all_birds <-rl_comp_groups(group = c('birds'), key = token) # This does not work.

Is this an issue with the API? I have checked that the group name is correct. Any help would be appreciated.

sckott commented 4 years ago

I get the same result.

We'll have to ask the API maintainer - we'll see if we get a response, we may not

sckott commented 4 years ago

The API maintainer responded that they'll look into it.

sckott commented 4 years ago

@bgerstner90 looks like this is working again

rdornas commented 4 years ago

Hello and sorry to bother. It's not working for me. 'Mammals' is working but 'birds' is not.

Question: what are the choices I can insert in group argument?

sckott commented 4 years ago

as it says in the documentation for the group parameter, if you run rl_comp_groups() you should get a list of the groups you can use

it seems the redlist service is down right now for me so i can't check if mammals is working or not

rdornas commented 4 years ago

Ok, Scott, thank you. I was trying to retrieve this information but I was having a 'bad gateway' and I could not find the groups. I was not supposing the service was down but I was no sure, thank you for your information.

Anyway, mammals stopped working so I think I got lucky when I first searched for mammals. At the moment no search is being processed probably because the service is down.

Thank you!

sckott commented 4 years ago

No idea when the service will be operational again, hopefully soon

sckott commented 4 years ago

@rdornas seems like its working again now