Changelog
Source:NEWS.md
owidapi (development version)
- Fixed
owid_get_catalog()returning only the first 1000 charts. Datasette caps the_size=maxparameter at itsmax_returned_rowssetting, so the catalog was silently truncated andowid_search()searched only a fraction of it. The catalog is now paged through and returned in full. Rows come back sorted byidas a result. - Fixed
owid_get_catalog()failing after OWID removed theisIndexablecolumn from the catalog. Logical and date columns are now only parsed when they are actually present, so future schema changes no longer break the function. - Guarded the
owid_search()example against an unreachable API, sinceowid_get_catalog()returnsNULLin that case. - Tests now use mocked
httr2responses instead of live API calls. The few remaining tests against the real API check that the OWID schema still matches what the package expects and are skipped on CRAN.
owidapi 0.1.1
CRAN release: 2025-06-23
- Encapsulated request logic in internal
perform_request()function. - Updated variable parsing & introduced graceful error handling in
owid_get_catalog()
owidapi 0.1.0
CRAN release: 2025-02-27
- Initial release with
owid_get(),owid_get_metadata(),owid_get_catalog(), andowid_search(). - Includes experimental helpers for shiny apps
owid_output()andowid_server().