ropensci / ckanr

R client for the CKAN API
https://docs.ropensci.org/ckanr
Other
99 stars 38 forks source link

Get details to all packages of one organization #183

Open Gatsen opened 2 years ago

Gatsen commented 2 years ago

Hello everyone,

Thanks a lot for the amazing package!

I have a short question regarding the organization_show() function. Is there a way to get all of the packages of one organization with that function? If I switch include_datasets to True, I just get back the details of the first 10 packages.

I tried the following, but it is not working: organization_show(id=id_long, include_datasets = T,limit=1000000) Any solution for it?

Looking forward to your response!

NewGraphEnvironment commented 9 months ago

Hi Gatsen. Looks like this is related to the programmed response from API . Doesn't seem to be configurable to get more than 10 :( https://docs.ckan.org/en/2.9/api/

Looks like group_show will return up to 1000 datasets though so perhaps that could be a workaround

image