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

'occ' returns no OBIS records if 'limit' is increased #264

Open
AMBarbosa opened this issue Dec 3, 2024 · 0 comments
Open

'occ' returns no OBIS records if 'limit' is increased #264

AMBarbosa opened this issue Dec 3, 2024 · 0 comments

Comments

@AMBarbosa
Copy link

The 'limit' argument seems to be causing strange effects on the OBIS records returned by the occ function. Not only does it announce more occurrences returned than found (as reported before, in #261), but if I increase the limit, no OBIS records are returned:

> spocc_data <- occ("Phaxas adriaticus", from = c("gbif", "obis"), limit = 10000)
> spocc_data
Searched: gbif, obis
Occurrences - Found: 213, Returned: 10,213
Search type: Scientific
  gbif: Phaxas adriaticus (213)
  obis: Phaxas adriaticus (10000)

> spocc_data <- occ("Phaxas adriaticus", from = c("gbif", "obis"), limit = 20000)
Warning messages:
1: obis: No records returned in OBIS for Phaxas adriaticus 
2: obis:  
> spocc_data
Searched: gbif, obis
Occurrences - Found: 213, Returned: 213
Search type: Scientific
  gbif: Phaxas adriaticus (213)

Regards,

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