HEAL / healdata-utils

HEAL data packaging tools
https://heal.github.io/healdata-utils/
0 stars 4 forks source link

Make pattern property field name not assigned an index value defaults to 0 #87

Open mbkranz opened 2 months ago

mbkranz commented 2 months ago

For inputted csv vlmd template files that have a regex in a json path header name (e.g., standardsMappings[\d+].url rather than an actual index (e.g., standardsMappings[0].url), assume \d+ = 0 for the csv data dictionary convert/exract function

mbkranz commented 2 months ago

Should be implemented/called somewhere around here

but probably good to create a function in utils.py that (1) checks for existence of digit regex and (2) replaces with 0?