r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

How can I see all the packages when I do a search #432

Open ManuelSpinola opened 2 weeks ago

ManuelSpinola commented 2 weeks ago

I did a search using the term "biodiversity", and the result show me the first 50 ("Showing 50 of total 102 results"). How can I see the remaining packages?

jeroen commented 2 weeks ago

I haven't implemented this yet in the webUI. The API supports a limit parameter, so you can do:

results <- jsonlite::fromJSON('https://r-universe.dev/api/search?q=biodiversity&limit=1000')
ManuelSpinola commented 2 weeks ago

Thank you very much.