ropensci / awardFindR

Scan multiple online grant databases for relevant awards
https://docs.ropensci.org/awardFindR
Other
16 stars 7 forks source link

request throttling for info #32

Open maelle opened 1 year ago

maelle commented 1 year ago

While looking at the code I see you use a loop to limit the rate.

If you were to switch from crul to httr2 (and from vcr to httptest2) you could use this function https://httr2.r-lib.org/reference/req_throttle.html

This is just for info :-)

mccallc commented 1 year ago

thanks for the information! I will try implementing this soon

maelle commented 1 year ago

No pressure, replacing curl and vcr is not a small change :-)