Skip to content

owidapi 0.1.2

Latest

Choose a tag to compare

@christophscheuch christophscheuch released this 28 Jul 11:15
  • Fixed owid_get_catalog() returning only the first 1000 charts. Datasette caps
    the _size=max parameter at its max_returned_rows setting, so the catalog was
    silently truncated and owid_search() searched only a fraction of it. The
    catalog is now paged through and returned in full. Rows come back sorted by
    id as a result.
  • Fixed owid_get_catalog() failing after OWID removed the isIndexable column
    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, since
    owid_get_catalog() returns NULL in that case.
  • Tests now use mocked httr2 responses 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.