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
Looks like a bug 🐞 since the CKAN changes a few weeks ago, the bcdata::bcdc_list_organization_records() and bcdata::bcdc_list_group_records() are both only returning the first 10 records.
Trying to find where this is bottlenecked. Walking through this code, it looks like the get request sees all the records but only downloads the first 10.
And the recent CKAN update change log refers to dropping a number of overrides for what might be related end points (e.g., package_update, organization_list).
Looks like the default of all/most CKAN REST API endpoints, including organization_show, is to use pagination to limit the number of records returned per request. This must have been over-ridden in the previous version of the BCDC. Working on a PR to add limit and offset query parameters to return all the records ("packages"), as is done with bcdata::bcdc_list().
Looks like a bug 🐞 since the CKAN changes a few weeks ago, the
bcdata::bcdc_list_organization_records()
andbcdata::bcdc_list_group_records()
are both only returning the first 10 records.e.g., the BC Stats organization has 69 records in the BC Data Catalogue
The text was updated successfully, but these errors were encountered: