Skip to content

v0.2.0: Dataflow reference resolution, dot-segment identifier fix

Choose a tag to compare

@cyanheads cyanheads released this 09 Aug 21:39
· 13 commits to main since this release
v0.2.0
9354d99

Dataflow reference resolution, dot-segment identifier fix

Fixes the 8 dataflows OECD publishes without a datastructure prefix and
the 49 whose id prefix names a datastructure OECD does not keep in sync
— both were unreachable or 404ing. Dimension names and agency
directorates now resolve from OECD's concept and agency schemes instead
of repeating the id.

  • BREAKING: oecd_get_dimension_values pages results (50 by default,
    limit up to 500) instead of returning the whole codelist; a
    1,164-code dimension no longer ships 66 KB to structuredContent (#6)
  • Security: a flow_ref of "." or ".." — plain or percent-encoded —
    normalized past identifier validation to an unrelated collection
    endpoint, returning the wrong dataflow's structure as if it were the
    one requested; identifiers now require a leading letter or digit
  • Dataflow references resolve through the id OECD actually catalogues,
    with a datastructure fallback for id/DSD mismatches (#20, #22)
  • oecd_list_agencies reports each agency's directorate; oecd_get_dataset_info,
    the oecd://dataflow resource, and dimension descriptions carry concept
    names instead of the raw id (#13, #16)
  • oecd_dataframe_query maps a missing table to a table_not_found reason
    instead of a generic invalid_sql (#17)

CHANGELOG v0.2.0