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
A few days ago, I was able to pull data from POWO using get_pow_ by inputting a vector of scientific names. powo_data <- get_pow_(unlist(test_data_unique), messages = FALSE)
However, there are errors even I am just trying to pull one scientific name. It seems to be related to the rate limits mentioned in #598 Error: Too Many Requests (HTTP 429) & Error: Bad Gateway (HTTP 502).
Update:
I use a for loop instead to pull data with the use of trycatchand sys.sleep and it's okay now.
Thanks,
Samuel
The text was updated successfully, but these errors were encountered:
Thanks for the issue @samueltsw Yes, its related to that issue - and see #598 (comment) - i'll add that information on rate limits to the docs.
your solution is the one i'd use too, sys.sleep between requests
note that they may change rate limits through time, so code that works now may work differently in the future (i.e., need to add more sleep time, or could use less, depending on whether they decreased or increased rate limit)
Hi,
A few days ago, I was able to pull data from POWO using get_pow_ by inputting a vector of scientific names.
powo_data <- get_pow_(unlist(test_data_unique), messages = FALSE)
However, there are errors even I am just trying to pull one scientific name. It seems to be related to the rate limits mentioned in #598
Error: Too Many Requests (HTTP 429)
&Error: Bad Gateway (HTTP 502)
.Update:
I use a for loop instead to pull data with the use of
trycatch
andsys.sleep
and it's okay now.Thanks,
Samuel
The text was updated successfully, but these errors were encountered: