HXLStandard / libhxl-python

Python support library for the Humanitarian Exchange Language (HXL) data standard.
The Unlicense
41 stars 11 forks source link

Add tag pattern scanning for rows in a HXL dataset #297

Closed davidmegginson closed 2 years ago

davidmegginson commented 2 years ago

Right now, it's always necessary to write this by hand. It does need to be optimised in the filters (by prescanning for column positions), but that's not true of casual scripts, where it could be much simpler, e.g. hxl.model.Row.search() and hxl.model.Row.searchAll().

davidmegginson commented 2 years ago

This already exists: hxl.model.Row.get() uses a tag pattern, not a literal tag spec.